public static function ExcludedModulesEventSubscriber::getSubscribedEvents in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php \Drupal\Core\EventSubscriber\ExcludedModulesEventSubscriber::getSubscribedEvents()
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ ExcludedModulesEventSubscriber.php, line 57
Class
- ExcludedModulesEventSubscriber
- The event subscriber preventing excluded modules to be exported.
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() {
// React early on export and late on import.
return [
'config.transform.import' => [
'onConfigTransformImport',
-500,
],
'config.transform.export' => [
'onConfigTransformExport',
500,
],
];
}