class AccessSubscriber

Access subscriber for controller requests.

Hierarchy

Expanded class hierarchy of AccessSubscriber

File

drupal/core/lib/Drupal/Core/EventSubscriber/AccessSubscriber.php, line 20
Contains Drupal\Core\EventSubscriber\AccessSubscriber.

Namespace

Drupal\Core\EventSubscriber
View source

Members

Namesort descending Modifiers Type Description Overrides
AccessSubscriber::getSubscribedEvents static function Registers the methods in this class that should be listeners. Overrides EventSubscriberInterface::getSubscribedEvents
AccessSubscriber::onKernelRequestAccessCheck public function Verifies that the current user can access the requested path.
AccessSubscriber::onRoutingRouteAlterSetAccessCheck public function Apply access checks to routes.
AccessSubscriber::__construct public function Constructs a new AccessSubscriber.