You are here

final class ConfigTranslationEvents in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config_translation/src/Event/ConfigTranslationEvents.php \Drupal\config_translation\Event\ConfigTranslationEvents
  2. 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

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\Event
View 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

Namesort descending Modifiers Type Description Overrides
ConfigTranslationEvents::POPULATE_MAPPER constant The name of the event dispatched when a configuration mapper is populated.