public function EckEntityCreateAccessCheck::__construct in Entity Construction Kit (ECK) 8
Constructs an EckEntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Access/ EckEntityCreateAccessCheck.php, line 29
Class
- EckEntityCreateAccessCheck
- Determines access for ECK entity add page.
Namespace
Drupal\eck\AccessCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}