src/Plugin/Filter/EntityEmbedFilter.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Plugin/Filter/EntityEmbedFilter.php b/src/Plugin/Filter/EntityEmbedFilter.php index e8059d5..b149a1f 100644 --- a/src/Plugin/Filter/EntityEmbedFilter.php +++ b/src/Plugin/Filter/EntityEmbedFilter.php @@ -103,9 +103,6 @@ class EntityEmbedFilter extends FilterBase implements ContainerFactoryPluginInte $node->setAttribute('data-entity-uuid', $uuid); } - $access = $entity->access('view', NULL, TRUE); - $result->addCacheableDependency($access); - $context = $this->getNodeAttributesAsArray($node); $context += array('data-langcode' => $langcode); $build = $this->buildEntityEmbed($entity, $context);