final class ConfigTranslationEvents in Drupal 9
Same name and namespace in other branches
- 8 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigTranslationEvents:: |
constant | The name of the event dispatched when a configuration mapper is populated. |