Issue #2935575 by gaurav.kapoor, kiamlaluno, amateescu: Fix or remove the @see tag
parent
e9334689fa
commit
1c72ba5a4a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue