CheckProviderInterface

Provides the available access checkers by service IDs.

Access checker services are added by ::addCheckService calls and are loaded by ::loadCheck.

The checker provider service and the actual checking is separated in order to not require the full access manager on route build time.

Hierarchy

File

core/lib/Drupal/Core/Access/CheckProviderInterface.php, line 16

Namespace

Drupal\Core\Access

Members

Name Modifiers Type Description
CheckProviderInterface::addCheckService public function Registers a new AccessCheck by service ID.
CheckProviderInterface::getChecksNeedRequest public function A list of checks that needs the request.
CheckProviderInterface::loadCheck public function Lazy-loads access check services.
CheckProviderInterface::setChecks public function For each route, saves a list of applicable access checks to the route.
doc_Drupal
2016-10-29 08:49:58
Comments
Leave a Comment

Please login to continue.