You are here

public static function AdvisoriesConfigSubscriber::getSubscribedEvents in Drupal 9

File

core/modules/system/src/EventSubscriber/AdvisoriesConfigSubscriber.php, line 56

Class

AdvisoriesConfigSubscriber
Defines a config subscriber for changes to 'system.advisories'.

Namespace

Drupal\system\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  $events[ConfigEvents::SAVE][] = [
    'onConfigSave',
  ];
  return $events;
}