class ConfigTranslationEvents
Same name in other branches
- 9 core/modules/config_translation/src/Event/ConfigTranslationEvents.php \Drupal\config_translation\Event\ConfigTranslationEvents
- 8.9.x core/modules/config_translation/src/Event/ConfigTranslationEvents.php \Drupal\config_translation\Event\ConfigTranslationEvents
- 10 core/modules/config_translation/src/Event/ConfigTranslationEvents.php \Drupal\config_translation\Event\ConfigTranslationEvents
Provides a list of events dispatched by the Configuration Translation module.
Hierarchy
- class \Drupal\config_translation\Event\ConfigTranslationEvents
Expanded class hierarchy of ConfigTranslationEvents
3 files declare their use of ConfigTranslationEvents
- ConfigNamesMapper.php in core/
modules/ config_translation/ src/ ConfigNamesMapper.php - ConfigTranslationTestSubscriber.php in core/
modules/ config_translation/ tests/ modules/ config_translation_test/ src/ EventSubscriber/ ConfigTranslationTestSubscriber.php - EditorConfigTranslationSubscriber.php in core/
modules/ editor/ src/ EventSubscriber/ EditorConfigTranslationSubscriber.php
File
-
core/
modules/ config_translation/ src/ Event/ ConfigTranslationEvents.php, line 8
Namespace
Drupal\config_translation\EventView source
final class ConfigTranslationEvents {
/**
* The name of the event dispatched when a configuration mapper is populated.
*
* Allows modules to add related config for translation on a specific
* translation form.
*
* @see \Drupal\config_translation\ConfigMapperInterface::populateFromRouteMatch()
*/
const POPULATE_MAPPER = 'config_translation.populate_mapper';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ConfigTranslationEvents::POPULATE_MAPPER | constant | The name of the event dispatched when a configuration mapper is populated. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.