public static function RssResponseRelativeUrlFilter::getSubscribedEvents in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php \Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter::getSubscribedEvents()
- 9 core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php \Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter::getSubscribedEvents()
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ RssResponseRelativeUrlFilter.php, line 73
Class
- RssResponseRelativeUrlFilter
- Subscribes to filter RSS responses, to make relative URIs absolute.
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() : array {
// Should run after any other response subscriber that modifies the markup.
// @see \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter
$events[KernelEvents::RESPONSE][] = [
'onResponse',
-512,
];
return $events;
}