interface AccessInterface

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/Access/AccessInterface.php \Drupal\Core\Routing\Access\AccessInterface
  2. 8.9.x core/lib/Drupal/Core/Routing/Access/AccessInterface.php \Drupal\Core\Routing\Access\AccessInterface
  3. 11.x core/lib/Drupal/Core/Routing/Access/AccessInterface.php \Drupal\Core\Routing\Access\AccessInterface

An access check service determines access rules for particular routes.

Hierarchy

Expanded class hierarchy of AccessInterface

All classes that implement AccessInterface

29 files declare their use of AccessInterface
AccessCheck.php in core/modules/system/tests/modules/menu_test/src/Access/AccessCheck.php
AccessCheckInterface.php in core/lib/Drupal/Core/Access/AccessCheckInterface.php
CheckProvider.php in core/lib/Drupal/Core/Access/CheckProvider.php
ContentTranslationDeleteAccess.php in core/modules/content_translation/src/Access/ContentTranslationDeleteAccess.php
ContentTranslationManageAccessCheck.php in core/modules/content_translation/src/Access/ContentTranslationManageAccessCheck.php

... See full list

File

core/lib/Drupal/Core/Routing/Access/AccessInterface.php, line 8

Namespace

Drupal\Core\Routing\Access
View source
interface AccessInterface {
  // @todo Remove this interface since it no longer defines any methods?
  // @see https://www.drupal.org/node/2266817.

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.