public static function SystemConfigSubscriber::getSubscribedEvents in Drupal 8
Same name and namespace 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()
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;
}