function RssResponseRelativeUrlFilter::getSubscribedEvents
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php \Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter::getSubscribedEvents()
- 8.9.x core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php \Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter::getSubscribedEvents()
- 10 core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php \Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter::getSubscribedEvents()
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ RssResponseRelativeUrlFilter.php, line 75
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.