function NodeAddAccessCheck::__construct
Same name in other branches
- 8.9.x core/modules/node/src/Access/NodeAddAccessCheck.php \Drupal\node\Access\NodeAddAccessCheck::__construct()
Constructs an EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
-
core/
modules/ node/ src/ Access/ NodeAddAccessCheck.php, line 36
Class
- NodeAddAccessCheck
- Determines access to for node add pages.
Namespace
Drupal\node\AccessCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.