public function NodeAddAccessCheck::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Access/NodeAddAccessCheck.php \Drupal\node\Access\NodeAddAccessCheck::__construct()
Constructs a EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/
modules/ node/ src/ Access/ NodeAddAccessCheck.php, line 36 - Contains \Drupal\node\Access\NodeAddAccessCheck.
Class
- NodeAddAccessCheck
- Determines access to for node add pages.
Namespace
Drupal\node\AccessCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}