function AdvisoriesConfigSubscriber::getSubscribedEvents

Same name in other branches
  1. 9 core/modules/system/src/EventSubscriber/AdvisoriesConfigSubscriber.php \Drupal\system\EventSubscriber\AdvisoriesConfigSubscriber::getSubscribedEvents()
  2. 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\EventSubscriber

Code

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.