You are here

public static function ConfigSchemaChecker::getSubscribedEvents in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php \Drupal\Core\Config\Development\ConfigSchemaChecker::getSubscribedEvents()

File

core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php, line 103

Class

ConfigSchemaChecker
Listens to the config save event and validates schema.

Namespace

Drupal\Core\Config\Development

Code

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