interface AccessInterface

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/Access/AccessInterface.php \Drupal\Core\Routing\Access\AccessInterface
  2. 10 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

42 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
ActiveWorkspaceCheck.php in core/modules/workspaces/src/Access/ActiveWorkspaceCheck.php
BlockHasOverridesAccessCheck.php in core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php
BlockPluginHasSettingsTrayFormAccessCheck.php in core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.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.