function ConfigSubscriber::getSubscribedEvents

File

core/modules/locale/src/EventSubscriber/ConfigSubscriber.php, line 36

Class

ConfigSubscriber
Rebuilds the container when locale config is changed.

Namespace

Drupal\locale\EventSubscriber

Code

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

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