Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / config_translation / src / Event / ConfigTranslationEvents.php
diff --git a/web/core/modules/config_translation/src/Event/ConfigTranslationEvents.php b/web/core/modules/config_translation/src/Event/ConfigTranslationEvents.php
new file mode 100644 (file)
index 0000000..6a95f69
--- /dev/null
@@ -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';
+
+}