protected static function CustomPageExceptionHtmlSubscriber::getPriority in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber::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 DefaultExceptionHtmlSubscriber::getPriority
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriber.php, line 60 - Contains \Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber.
Class
- CustomPageExceptionHtmlSubscriber
- Exception subscriber for handling core custom HTML error pages.
Namespace
Drupal\Core\EventSubscriberCode
protected static function getPriority() {
return -50;
}