You are here

abstract class AccessCheckBase in Allowed Languages 2.x

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

Allowed languages access check base class.

Hierarchy

Expanded class hierarchy of AccessCheckBase

File

src/Access/AccessCheckBase.php, line 11

Namespace

Drupal\allowed_languages\Access
View source
abstract class AccessCheckBase implements AccessInterface {

  /**
   * The allowed language manager service.
   *
   * @var \Drupal\allowed_languages\AllowedLanguagesManagerInterface
   */
  protected $allowedLanguagesManager;

  /**
   * AccessCheck constructor.
   */
  public function __construct(AllowedLanguagesManagerInterface $allowed_languages_manager) {
    $this->allowedLanguagesManager = $allowed_languages_manager;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AccessCheckBase::$allowedLanguagesManager protected property The allowed language manager service.
AccessCheckBase::__construct public function AccessCheck constructor. 1