function 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\EventSubscriber

Code

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.