public static function AcsfMaintenanceModeSubscriber::getSubscribedEvents in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 src/EventSubscriber/AcsfMaintenanceModeSubscriber.php \Drupal\acsf\EventSubscriber\AcsfMaintenanceModeSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ AcsfMaintenanceModeSubscriber.php, line 57
Class
- AcsfMaintenanceModeSubscriber
- Response subscriber to add SF maintenance mode header.
Namespace
Drupal\acsf\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'onRespond',
];
return $events;
}