public DefaultExceptionHtmlSubscriber::on403(GetResponseForExceptionEvent $event)
Handles a 403 error for HTML.
\Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process.
public function on403(GetResponseForExceptionEvent $event) { $this->makeSubrequest($event, '/system/403', Response::HTTP_FORBIDDEN); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!DefaultExceptionHtmlSubscriber.php/function/DefaultExceptionHtmlSubscriber::on403/8.1.x