public function ContainerAccessControlHandler::__construct in GoogleTagManager 8
Constructs a container access control handler.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Plugin\Context\ContextHandlerInterface $context_handler: The ContextHandler for applying contexts to conditions properly.
\Drupal\Core\Plugin\Context\ContextRepositoryInterface $context_repository: The lazy context repository service.
Overrides EntityAccessControlHandler::__construct
File
- src/
ContainerAccessControlHandler.php, line 62
Class
- ContainerAccessControlHandler
- Defines access control for the container configuration entity type.
Namespace
Drupal\google_tagCode
public function __construct(EntityTypeInterface $entity_type, ContextHandlerInterface $context_handler, ContextRepositoryInterface $context_repository) {
parent::__construct($entity_type);
$this->contextHandler = $context_handler;
$this->contextRepository = $context_repository;
}