Mercurial > hg > isophonics-drupal-site
diff core/modules/config_translation/src/Event/ConfigTranslationEvents.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/config_translation/src/Event/ConfigTranslationEvents.php Thu Feb 28 13:21:36 2019 +0000 @@ -0,0 +1,20 @@ +<?php + +namespace Drupal\config_translation\Event; + +/** + * Provides a list of events dispatched by the Configuration Translation module. + */ +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'; + +}