function ConfigTranslationTestSubscriber::getSubscribedEvents
Same name in other branches
- 9 core/modules/config_translation/tests/modules/config_translation_test/src/EventSubscriber/ConfigTranslationTestSubscriber.php \Drupal\config_translation_test\EventSubscriber\ConfigTranslationTestSubscriber::getSubscribedEvents()
- 10 core/modules/config_translation/tests/modules/config_translation_test/src/EventSubscriber/ConfigTranslationTestSubscriber.php \Drupal\config_translation_test\EventSubscriber\ConfigTranslationTestSubscriber::getSubscribedEvents()
- 11.x core/modules/config_translation/tests/modules/config_translation_test/src/EventSubscriber/ConfigTranslationTestSubscriber.php \Drupal\config_translation_test\EventSubscriber\ConfigTranslationTestSubscriber::getSubscribedEvents()
File
-
core/
modules/ config_translation/ tests/ modules/ config_translation_test/ src/ EventSubscriber/ ConfigTranslationTestSubscriber.php, line 17
Class
- ConfigTranslationTestSubscriber
- Adds configuration names to configuration mapper on POPULATE_MAPPER event.
Namespace
Drupal\config_translation_test\EventSubscriberCode
public static function getSubscribedEvents() {
return [
ConfigTranslationEvents::POPULATE_MAPPER => [
[
'addConfigNames',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.