function RssResponseCdata::getSubscribedEvents
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ RssResponseCdata.php, line 70
Class
- RssResponseCdata
- Subscribes to wrap RSS descriptions in CDATA.
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() : array {
// This should run after any other response subscriber that modifies the
// markup.
// @see \Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter
$events[KernelEvents::RESPONSE][] = [
'onResponse',
-513,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.