diff --git a/core/modules/config_translation/src/ConfigEntityMapper.php b/core/modules/config_translation/src/ConfigEntityMapper.php
index 7caf72c..f2750de 100644
--- a/core/modules/config_translation/src/ConfigEntityMapper.php
+++ b/core/modules/config_translation/src/ConfigEntityMapper.php
@@ -23,7 +23,7 @@
 /**
  * Configuration mapper for configuration entities.
  */
-class ConfigEntityMapper extends ConfigNamesMapper {
+class ConfigEntityMapper extends ConfigNamesMapper implements ConfigEntityMapperInterface {
 
   /**
    * The entity manager.
@@ -116,29 +116,14 @@ public function populateFromRouteMatch(RouteMatchInterface $route_match) {
   }
 
   /**
-   * Gets the entity instance for this mapper.
-   *
-   * @return \Drupal\Core\Config\Entity\ConfigEntityInterface $entity
-   *   The configuration entity.
+   * {@inheritdoc}
    */
   public function getEntity() {
     return $this->entity;
   }
 
-    /**
-   * Sets the entity instance for this mapper.
-   *
-   * This method can only be invoked when the concrete entity is known, that is
-   * in a request for an entity translation path. After this method is called,
-   * the mapper is fully populated with the proper display title and
-   * configuration names to use to check permissions or display a translation
-   * screen.
-   *
-   * @param \Drupal\Core\Config\Entity\ConfigEntityInterface $entity
-   *   The configuration entity to set.
-   *
-   * @return bool
-   *   TRUE, if the entity was set successfully; FALSE otherwise.
+  /**
+   * {@inheritdoc}
    */
   public function setEntity(ConfigEntityInterface $entity) {
     if (isset($this->entity)) {
@@ -174,19 +159,7 @@ public function getBaseRouteParameters() {
   }
 
   /**
-   * Set entity type for this mapper.
-   *
-   * This should be set in initialization. A mapper that knows its type but
-   * not yet its names is still useful for router item and tab generation. The
-   * concrete entity only turns out later with actual controller invocations,
-   * when the setEntity() method is invoked before the rest of the methods are
-   * used.
-   *
-   * @param string $entity_type
-   *   The entity type to set.
-   *
-   * @return bool
-   *   TRUE if the entity type was set correctly; FALSE otherwise.
+   * {@inheritdoc}
    */
   public function setType($entity_type) {
     if (isset($this->entityType)) {
@@ -197,9 +170,7 @@ public function setType($entity_type) {
   }
 
   /**
-   * Gets the entity type from this mapper.
-   *
-   * @return string
+   * {@inheritdoc}
    */
   public function getType() {
     return $this->entityType;
diff --git a/core/modules/config_translation/src/ConfigEntityMapperInterface.php b/core/modules/config_translation/src/ConfigEntityMapperInterface.php
new file mode 100644
index e69de29..3d21a7b
--- /dev/null
+++ b/core/modules/config_translation/src/ConfigEntityMapperInterface.php
@@ -0,0 +1,74 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\config_translation\ConfigEntityMapperInterface.
+ */
+
+namespace Drupal\config_translation;
+
+use Drupal\Core\Language\LanguageInterface;
+use Drupal\Core\Routing\RouteMatchInterface;
+use Symfony\Component\Routing\RouteCollection;
+use Drupal\Core\Config\Entity\ConfigEntityInterface;
+
+/**
+ * Defines an interface for configuration entity mapper.
+ */
+interface ConfigEntityMapperInterface {
+
+
+  /**
+   * Gets the entity instance for this mapper.
+   *
+   * @return \Drupal\Core\Config\Entity\ConfigEntityInterface $entity
+   *   The configuration entity.
+   */
+  public function getEntity();
+
+
+  /**
+   * Sets the entity instance for this mapper.
+   *
+   * This method can only be invoked when the concrete entity is known, that is
+   * in a request for an entity translation path. After this method is called,
+   * the mapper is fully populated with the proper display title and
+   * configuration names to use to check permissions or display a translation
+   * screen.
+   *
+   * @param \Drupal\Core\Config\Entity\ConfigEntityInterface $entity
+   *   The configuration entity to set.
+   *
+   * @return bool
+   *   TRUE, if the entity was set successfully; FALSE otherwise.
+   */
+  public function setEntity(ConfigEntityInterface $entity);
+
+
+  /**
+   * Set entity type for this mapper.
+   *
+   * This should be set in initialization. A mapper that knows its type but
+   * not yet its names is still useful for router item and tab generation. The
+   * concrete entity only turns out later with actual controller invocations,
+   * when the setEntity() method is invoked before the rest of the methods are
+   * used.
+   *
+   * @param string $entity_type
+   *   The entity type to set.
+   *
+   * @return bool
+   *   TRUE if the entity type was set correctly; FALSE otherwise.
+   */
+  public function setType($entity_type);
+
+
+  /**
+   * Gets the entity type from this mapper.
+   *
+   * @return string
+   */
+  public function getType();
+
+
+}
