function Fast404ExceptionHtmlSubscriber::getSubscribedEvents

Same name in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::getSubscribedEvents()
  2. 10 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::getSubscribedEvents()

Overrides HttpExceptionSubscriberBase::getSubscribedEvents

File

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

Class

Fast404ExceptionHtmlSubscriber
High-performance 404 exception subscriber.

Namespace

Drupal\Core\EventSubscriber

Code

public static function getSubscribedEvents() : array {
    $events = parent::getSubscribedEvents();
    $events[ConfigEvents::SAVE] = 'onConfigSave';
    return $events;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.