From 21b9e020788bc1b370e2bd5f0b4789903959dabc Mon Sep 17 00:00:00 2001 From: "Laryn - CEDC.org" Date: Tue, 7 Dec 2021 06:57:07 -0600 Subject: [PATCH] Issue #106: Use `entity_plus_view` to ensure view method is properly checked. Fixes #106 --- ParagraphsItemEntity.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ParagraphsItemEntity.inc b/ParagraphsItemEntity.inc index 0260f12..12f0ab8 100644 --- a/ParagraphsItemEntity.inc +++ b/ParagraphsItemEntity.inc @@ -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); } /**