function SystemConfigSubscriber::getSubscribedEvents
Overrides EventSubscriberInterface::getSubscribedEvents
File
-
core/
modules/ system/ src/ SystemConfigSubscriber.php, line 87
Class
- SystemConfigSubscriber
- System Config subscriber.
Namespace
Drupal\systemCode
public static function getSubscribedEvents() : array {
$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;
}