public static function ConfigSubscriber::getSubscribedEvents in JSON:API Extras 8.2
Same name and namespace in other branches
- 8.3 src/EventSubscriber/ConfigSubscriber.php \Drupal\jsonapi_extras\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
File
- src/EventSubscriber/ConfigSubscriber.php, line 98
Class
- ConfigSubscriber
- Associates config cache tag and rebuilds container + routes when necessary.
Namespace
Drupal\jsonapi_extras\EventSubscriber
Code
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
$events[KernelEvents::RESPONSE][] = [
'onResponse',
150,
];
return $events;
}