You are here

public function AccessCheckBase::__construct in Allowed Languages 2.x

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

AccessCheck constructor.

1 call to AccessCheckBase::__construct()
ContentTranslationAccessCheck::__construct in src/Access/ContentTranslationAccessCheck.php
AccessCheck constructor.
1 method overrides AccessCheckBase::__construct()
ContentTranslationAccessCheck::__construct in src/Access/ContentTranslationAccessCheck.php
AccessCheck constructor.

File

src/Access/AccessCheckBase.php, line 23

Class

AccessCheckBase
Allowed languages access check base class.

Namespace

Drupal\allowed_languages\Access

Code

public function __construct(AllowedLanguagesManagerInterface $allowed_languages_manager) {
  $this->allowedLanguagesManager = $allowed_languages_manager;
}