You are here

static function ConfigDevelAutoExportSubscriber::getSubscribedEvents in Configuration development 8

Registers the methods in this class that should be listeners.

Return value

array An array of event listener definitions.

File

src/EventSubscriber/ConfigDevelAutoExportSubscriber.php, line 131

Class

ConfigDevelAutoExportSubscriber
ConfigDevelAutoExportSubscriber subscriber for configuration CRUD events.

Namespace

Drupal\config_devel\EventSubscriber

Code

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