Fast404ExceptionHtmlSubscriber

High-performance 404 exception subscriber.

This subscriber will return a minimalist 404 response for HTML requests without running a full page theming operation.

Hierarchy

File

core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php, line 17

Namespace

Drupal\Core\EventSubscriber

Members

Name Modifiers Type Description
Fast404ExceptionHtmlSubscriber::$configFactory protected property The config factory.
Fast404ExceptionHtmlSubscriber::$httpKernel protected property The HTTP kernel.
Fast404ExceptionHtmlSubscriber::getHandledFormats protected function Specifies the request formats this subscriber will respond to. Overrides HttpExceptionSubscriberBase::getHandledFormats
Fast404ExceptionHtmlSubscriber::getPriority protected static function Specifies the priority of all listeners in this class. Overrides HttpExceptionSubscriberBase::getPriority
Fast404ExceptionHtmlSubscriber::on404 public function Handles a 404 error for HTML.
Fast404ExceptionHtmlSubscriber::__construct public function Constructs a new Fast404ExceptionHtmlSubscriber.
HttpExceptionSubscriberBase::getSubscribedEvents public static function Registers the methods in this class that should be listeners. Overrides EventSubscriberInterface::getSubscribedEvents
HttpExceptionSubscriberBase::onException public function Handles errors for this subscriber.
doc_Drupal
2016-10-29 09:09:48
Comments
Leave a Comment

Please login to continue.