function HtmlResponsePlaceholderStrategySubscriber::getSubscribedEvents
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php \Drupal\Core\EventSubscriber\HtmlResponsePlaceholderStrategySubscriber::getSubscribedEvents()
- 8.9.x core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php \Drupal\Core\EventSubscriber\HtmlResponsePlaceholderStrategySubscriber::getSubscribedEvents()
- 10 core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php \Drupal\Core\EventSubscriber\HtmlResponsePlaceholderStrategySubscriber::getSubscribedEvents()
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ HtmlResponsePlaceholderStrategySubscriber.php, line 64
Class
- HtmlResponsePlaceholderStrategySubscriber
- HTML response subscriber to allow for different placeholder strategies.
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() : array {
// Run shortly before HtmlResponseSubscriber.
$events[KernelEvents::RESPONSE][] = [
'onRespond',
5,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.