function ConfigFactoryOverrideBase::getSubscribedEvents

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php \Drupal\Core\Config\ConfigFactoryOverrideBase::getSubscribedEvents()
  2. 10 core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php \Drupal\Core\Config\ConfigFactoryOverrideBase::getSubscribedEvents()
  3. 11.x core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php \Drupal\Core\Config\ConfigFactoryOverrideBase::getSubscribedEvents()

File

core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php, line 47

Class

ConfigFactoryOverrideBase
Defines a base event listener implementation configuration overrides.

Namespace

Drupal\Core\Config

Code

public static function getSubscribedEvents() {
    $events[ConfigEvents::COLLECTION_INFO][] = [
        'addCollections',
    ];
    $events[ConfigEvents::SAVE][] = [
        'onConfigSave',
        20,
    ];
    $events[ConfigEvents::DELETE][] = [
        'onConfigDelete',
        20,
    ];
    $events[ConfigEvents::RENAME][] = [
        'onConfigRename',
        20,
    ];
    return $events;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.