public NodeAddAccessCheck::__construct(EntityManagerInterface $entity_manager)
Constructs a EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/modules/node/src/Access/NodeAddAccessCheck.php, line 31
Class
- NodeAddAccessCheck
- Determines access to for node add pages.
Namespace
Drupal\node\Access
Code
public function __construct(EntityManagerInterface $entity_manager) { $this->entityManager = $entity_manager; }
Please login to continue.