HttpExceptionSubscriberBase::getPriority

protected static HttpExceptionSubscriberBase::getPriority()

Specifies the priority of all listeners in this class.

The default priority is 1, which is very low. To have listeners that have a "first attempt" at handling exceptions return a higher priority.

Return value

int The event priority of this subscriber.

File

core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 70

Class

HttpExceptionSubscriberBase
Utility base class for exception subscribers.

Namespace

Drupal\Core\EventSubscriber

Code

1
2
3
protected static function getPriority() {
  return 0;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.