public function NodeAccessControlHandler::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/NodeAccessControlHandler.php \Drupal\node\NodeAccessControlHandler::__construct()
Constructs a NodeAccessControlHandler object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\node\NodeGrantDatabaseStorageInterface $grant_storage: The node grant storage.
Overrides EntityAccessControlHandler::__construct
File
- core/
modules/ node/ src/ NodeAccessControlHandler.php, line 43 - Contains \Drupal\node\NodeAccessControlHandler.
Class
- NodeAccessControlHandler
- Defines the access control handler for the node entity type.
Namespace
Drupal\nodeCode
public function __construct(EntityTypeInterface $entity_type, NodeGrantDatabaseStorageInterface $grant_storage) {
parent::__construct($entity_type);
$this->grantStorage = $grant_storage;
}