diff core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
line wrap: on
line diff
--- a/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php	Mon Apr 23 09:46:53 2018 +0100
@@ -85,7 +85,7 @@
 
     // 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);
     }