Mercurial > hg > isophonics-drupal-site
annotate core/modules/config_translation/src/Event/ConfigTranslationEvents.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
children |
rev | line source |
---|---|
Chris@17 | 1 <?php |
Chris@17 | 2 |
Chris@17 | 3 namespace Drupal\config_translation\Event; |
Chris@17 | 4 |
Chris@17 | 5 /** |
Chris@17 | 6 * Provides a list of events dispatched by the Configuration Translation module. |
Chris@17 | 7 */ |
Chris@17 | 8 final class ConfigTranslationEvents { |
Chris@17 | 9 |
Chris@17 | 10 /** |
Chris@17 | 11 * The name of the event dispatched when a configuration mapper is populated. |
Chris@17 | 12 * |
Chris@17 | 13 * Allows modules to add related config for translation on a specific |
Chris@17 | 14 * translation form. |
Chris@17 | 15 * |
Chris@17 | 16 * @see \Drupal\config_translation\ConfigMapperInterface::populateFromRouteMatch() |
Chris@17 | 17 */ |
Chris@17 | 18 const POPULATE_MAPPER = 'config_translation.populate_mapper'; |
Chris@17 | 19 |
Chris@17 | 20 } |