NodeAddAccessCheck::__construct

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;
}
doc_Drupal
2016-10-29 09:30:34
Comments
Leave a Comment

Please login to continue.