You are here

public static function ConfigSchemaChecker::getSubscribedEvents in Drupal 9

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

File

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

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;
}