You are here

public static function SettingsSaveEventSubscriber::getSubscribedEvents in Content locking (anti-concurrent editing) 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/SettingsSaveEventSubscriber.php \Drupal\content_lock\EventSubscriber\SettingsSaveEventSubscriber::getSubscribedEvents()

File

src/EventSubscriber/SettingsSaveEventSubscriber.php, line 63

Class

SettingsSaveEventSubscriber
Class acts on config save event.

Namespace

Drupal\content_lock\EventSubscriber

Code

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