function Node::access
Same name in other branches
- 9 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::access()
- 8.9.x core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::access()
- 11.x core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::access()
Overrides ContentEntityBase::access
File
-
core/
modules/ node/ src/ Entity/ Node.php, line 195
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\EntityCode
public function access($operation = 'view', ?AccountInterface $account = NULL, $return_as_object = FALSE) {
// This override exists to set the operation to the default value "view".
return parent::access($operation, $account, $return_as_object);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.