function UpdateRegistry::getSubscribedEvents

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Update/UpdateRegistry.php \Drupal\Core\Update\UpdateRegistry::getSubscribedEvents()
  2. 11.x core/lib/Drupal/Core/Update/UpdateRegistry.php \Drupal\Core\Update\UpdateRegistry::getSubscribedEvents()

File

core/lib/Drupal/Core/Update/UpdateRegistry.php, line 390

Class

UpdateRegistry
Provides all and missing update implementations.

Namespace

Drupal\Core\Update

Code

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

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