X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FPlugin%2FEntityReferenceSelection%2FCommentSelection.php;fp=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FPlugin%2FEntityReferenceSelection%2FCommentSelection.php;h=e806397a0e018bb00d25f46214b2dcacfd331b86;hp=414c5b23111a29a53d22e733033fdc7fa7556a74;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php b/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php index 414c5b231..e806397a0 100644 --- a/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php +++ b/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php @@ -85,7 +85,7 @@ class CommentSelection extends DefaultSelection { // Passing the query to node_query_node_access_alter() is sadly // insufficient for nodes. - // @see SelectionEntityTypeNode::entityQueryAlter() + // @see \Drupal\node\Plugin\EntityReferenceSelection\NodeSelection::buildEntityQuery() if (!$this->currentUser->hasPermission('bypass node access') && !count($this->moduleHandler->getImplementations('node_grants'))) { $query->condition($node_alias . '.status', 1); }