public static function BigPipeTestSubscriber::getSubscribedEvents in Drupal 10
Same name and namespace in other branches
- 8 core/modules/big_pipe/tests/modules/big_pipe_test/src/EventSubscriber/BigPipeTestSubscriber.php \Drupal\big_pipe_test\EventSubscriber\BigPipeTestSubscriber::getSubscribedEvents()
- 9 core/modules/big_pipe/tests/modules/big_pipe_test/src/EventSubscriber/BigPipeTestSubscriber.php \Drupal\big_pipe_test\EventSubscriber\BigPipeTestSubscriber::getSubscribedEvents()
File
- core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ src/ EventSubscriber/ BigPipeTestSubscriber.php, line 74
Class
Namespace
Drupal\big_pipe_test\EventSubscriberCode
public static function getSubscribedEvents() : array {
// Run just before \Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber::onRespond().
$events[KernelEvents::RESPONSE][] = [
'onRespondSetBigPipeDebugPlaceholderHeaders',
-9999,
];
// Run just after \Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber::onRespond().
$events[KernelEvents::RESPONSE][] = [
'onRespondTriggerException',
-10001,
];
return $events;
}