Loads access checkers from the container.
Hierarchy
- class \Drupal\Core\Access\CheckProvider implements CheckProviderInterface, ContainerAwareInterface uses ContainerAwareTrait
File
- core/lib/Drupal/Core/Access/CheckProvider.php, line 14
Namespace
Drupal\Core\Access
Members
Name | Modifiers | Type | Description |
---|---|---|---|
CheckProvider::$checkIds | protected | property | Array of registered access check service ids. |
CheckProvider::$checkMethods | protected | property | Array of access check method names keyed by service ID. |
CheckProvider::$checks | protected | property | Array of access check objects keyed by service id. |
CheckProvider::$checksNeedsRequest | protected | property | Array of access checks which only will be run on the incoming request. |
CheckProvider::$dynamicRequirementMap | protected | property | An array to map dynamic requirement keys to service IDs. |
CheckProvider::$staticRequirementMap | protected | property | An array to map static requirement keys to service IDs. |
CheckProvider::addCheckService | public | function | Registers a new AccessCheck by service ID. Overrides CheckProviderInterface::addCheckService |
CheckProvider::applies | protected | function | Determine which registered access checks apply to a route. |
CheckProvider::getChecksNeedRequest | public | function | A list of checks that needs the request. Overrides CheckProviderInterface::getChecksNeedRequest |
CheckProvider::loadCheck | public | function | Lazy-loads access check services. Overrides CheckProviderInterface::loadCheck |
CheckProvider::loadDynamicRequirementMap | protected | function | Compiles a mapping of requirement keys to access checker service IDs. |
CheckProvider::setChecks | public | function | For each route, saves a list of applicable access checks to the route. Overrides CheckProviderInterface::setChecks |
ContainerAwareTrait::$container | protected | property | |
ContainerAwareTrait::setContainer | public | function | Sets the container. Overrides ContainerAwareInterface::setContainer |
Please login to continue.