function Node::access
Overrides ContentEntityBase::access
File
-
core/
modules/ node/ src/ Entity/ Node.php, line 193
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.