You are here

public function AccessCheckBase::__construct in Allowed Languages 8

Same name and namespace in other branches
  1. 2.x src/Access/AccessCheckBase.php \Drupal\allowed_languages\Access\AccessCheckBase::__construct()

AccessCheck constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Drupal entity type manager.

2 calls to AccessCheckBase::__construct()
ContentTranslationAccessCheck::__construct in src/Access/ContentTranslationAccessCheck.php
AccessCheck constructor.
EntityAccessCheck::__construct in src/Access/EntityAccessCheck.php
AccessCheck constructor.
2 methods override AccessCheckBase::__construct()
ContentTranslationAccessCheck::__construct in src/Access/ContentTranslationAccessCheck.php
AccessCheck constructor.
EntityAccessCheck::__construct in src/Access/EntityAccessCheck.php
AccessCheck constructor.

File

src/Access/AccessCheckBase.php, line 29

Class

AccessCheckBase
Allowed languages access check base class.

Namespace

Drupal\allowed_languages\Access

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}