public DefaultExceptionHtmlSubscriber::on403(GetResponseForExceptionEvent $event)
Handles a 403 error for HTML.
Parameters
\Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process.
File
- core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 98
Class
- DefaultExceptionHtmlSubscriber
- Exception subscriber for handling core default HTML error pages.
Namespace
Drupal\Core\EventSubscriber
Code
public function on403(GetResponseForExceptionEvent $event) { $this->makeSubrequest($event, '/system/403', Response::HTTP_FORBIDDEN); }
Please login to continue.