public static function ConfigEventSubscriber::getSubscribedEvents in High contrast 8
File
- src/
EventSubscriber/ ConfigEventSubscriber.php, line 46
Class
- ConfigEventSubscriber
- A subscriber for updating the stylesheet when the configuration is updated.
Namespace
Drupal\high_contrast\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'updateStylesheet',
];
return $events;
}