function ConfigSchemaChecker::getSubscribedEvents

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php \Drupal\Core\Config\Development\ConfigSchemaChecker::getSubscribedEvents()
  2. 8.9.x core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php \Drupal\Core\Config\Development\ConfigSchemaChecker::getSubscribedEvents()
  3. 10 core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php \Drupal\Core\Config\Development\ConfigSchemaChecker::getSubscribedEvents()

File

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

Class

ConfigSchemaChecker
Listens to the config save event and validates schema.

Namespace

Drupal\Core\Config\Development

Code

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

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