function AdvisoriesConfigSubscriber::getSubscribedEvents
Same name in other branches
- 10 core/modules/system/src/EventSubscriber/AdvisoriesConfigSubscriber.php \Drupal\system\EventSubscriber\AdvisoriesConfigSubscriber::getSubscribedEvents()
- 11.x core/modules/system/src/EventSubscriber/AdvisoriesConfigSubscriber.php \Drupal\system\EventSubscriber\AdvisoriesConfigSubscriber::getSubscribedEvents()
File
-
core/
modules/ system/ src/ EventSubscriber/ AdvisoriesConfigSubscriber.php, line 56
Class
- AdvisoriesConfigSubscriber
- Defines a config subscriber for changes to 'system.advisories'.
Namespace
Drupal\system\EventSubscriberCode
public static function getSubscribedEvents() : array {
$events[ConfigEvents::SAVE][] = [
'onConfigSave',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.