Skip to content

Commit

Permalink
Issue #106: Use entity_plus_view to ensure view method is properly …
Browse files Browse the repository at this point in the history
…checked.

Fixes #106
  • Loading branch information
laryn authored Dec 7, 2021
1 parent 729be00 commit 21b9e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ParagraphsItemEntity.inc
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ class ParagraphsItemEntity extends Entity {
}
}
}
return entity_get_controller($this->entityType())->view(array($this), $view_mode, $langcode, $page);
return entity_plus_view($this->entityType(), array($this), $view_mode, $langcode, $page);
}

/**
Expand Down

0 comments on commit 21b9e02

Please # to comment.