public function EntityCreateAccessCheck::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php \Drupal\Core\Entity\EntityCreateAccessCheck::__construct()
Constructs a EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityCreateAccessCheck.php, line 41 - Contains \Drupal\Core\Entity\EntityCreateAccessCheck.
Class
- EntityCreateAccessCheck
- Defines an access checker for entity creation.
Namespace
Drupal\Core\EntityCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}