protected static function ExceptionTestSiteSubscriber::getPriority in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php \Drupal\Core\EventSubscriber\ExceptionTestSiteSubscriber::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.
Overrides HttpExceptionSubscriberBase::getPriority
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ ExceptionTestSiteSubscriber.php, line 16
Class
- ExceptionTestSiteSubscriber
- Custom handling of errors when in a system-under-test.
Namespace
Drupal\Core\EventSubscriberCode
protected static function getPriority() {
return 3;
}