function SystemConfigSubscriber::getSubscribedEvents
Same name in other branches
- 9 core/modules/system/src/SystemConfigSubscriber.php \Drupal\system\SystemConfigSubscriber::getSubscribedEvents()
- 10 core/modules/system/src/SystemConfigSubscriber.php \Drupal\system\SystemConfigSubscriber::getSubscribedEvents()
- 11.x core/modules/system/src/SystemConfigSubscriber.php \Drupal\system\SystemConfigSubscriber::getSubscribedEvents()
File
-
core/
modules/ system/ src/ SystemConfigSubscriber.php, line 86
Class
- SystemConfigSubscriber
- System Config subscriber.
Namespace
Drupal\systemCode
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'onConfigSave',
0,
];
// The empty check has a high priority so that it can stop propagation if
// there is no configuration to import.
$events[ConfigEvents::IMPORT_VALIDATE][] = [
'onConfigImporterValidateNotEmpty',
512,
];
$events[ConfigEvents::IMPORT_VALIDATE][] = [
'onConfigImporterValidateSiteUUID',
256,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.