You are here

protected static function Fast404ExceptionHtmlSubscriber::getPriority in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::getPriority()
  2. 9 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::getPriority()

File

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

Class

Fast404ExceptionHtmlSubscriber
High-performance 404 exception subscriber.

Namespace

Drupal\Core\EventSubscriber

Code

protected static function getPriority() {

  // A very high priority so that it can take precedent over anything else,
  // and thus be fast.
  return 200;
}