function Fast404ExceptionHtmlSubscriber::getPriority
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::getPriority()
- 8.9.x core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::getPriority()
- 11.x core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::getPriority()
Overrides HttpExceptionSubscriberBase::getPriority
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ Fast404ExceptionHtmlSubscriber.php, line 66
Class
- Fast404ExceptionHtmlSubscriber
- High-performance 404 exception subscriber.
Namespace
Drupal\Core\EventSubscriberCode
protected static function getPriority() {
// A very high priority so that it can take precedent over anything else,
// and thus be fast.
return 200;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.