protected static function NotFound::getPriority in Unpublished 404 8
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
- src/
EventSubscriber/ NotFound.php, line 35
Class
- NotFound
- Redirects 403 node page error responses to 404 page.
Namespace
Drupal\unpublished_404\EventSubscriberCode
protected static function getPriority() {
return 1000;
}