Attaches access check services to routes and runs them on request.
Hierarchy
- class \Drupal\Core\Access\AccessManager implements AccessManagerInterface
See also
\Drupal\Tests\Core\Access\AccessManagerTest
File
- core/lib/Drupal/Core/Access/AccessManager.php, line 21
Namespace
Drupal\Core\Access
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AccessManager::$argumentsResolverFactory | protected | property | The access arguments resolver. |
AccessManager::$checkProvider | protected | property | The check provider. |
AccessManager::$currentUser | protected | property | The current user. |
AccessManager::$paramConverterManager | protected | property | The paramconverter manager. |
AccessManager::$routeProvider | protected | property | The route provider. |
AccessManager::check | public | function | Checks a route against applicable access check services. Overrides AccessManagerInterface::check |
AccessManager::checkNamedRoute | public | function | Checks a named route with parameters against applicable access check services. Overrides AccessManagerInterface::checkNamedRoute |
AccessManager::checkRequest | public | function | Execute access checks against the incoming request. Overrides AccessManagerInterface::checkRequest |
AccessManager::performCheck | protected | function | Performs the specified access check. |
AccessManager::__construct | public | function | Constructs a AccessManager instance. |
Please login to continue.