You are here

public static function AdvisoriesConfigSubscriber::getSubscribedEvents in Drupal 10

Same name and namespace in other branches
  1. 9 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\EventSubscriber

Code

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