public function TypeGroupAddAccessCheck::__construct in Booking and Availability Management Tools for Drupal 8
Constructs a EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.
File
- src/
Access/ TypeGroupAddAccessCheck.php, line 34 - Contains \Drupal\bat\Access\TypeGroupAddAccessCheck.
Class
- TypeGroupAddAccessCheck
- Determines access to for type group add pages.
Namespace
Drupal\bat\AccessCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}