You are here

ConfigTranslationEvents.php in Drupal 9

File

core/modules/config_translation/src/Event/ConfigTranslationEvents.php
View source
<?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';

}

Classes

Namesort descending Description
ConfigTranslationEvents Provides a list of events dispatched by the Configuration Translation module.