Version 1
[yaffs-website] / web / core / modules / config_translation / src / Controller / ConfigTranslationEntityListBuilderInterface.php
diff --git a/web/core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php b/web/core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php
new file mode 100644 (file)
index 0000000..1c585ef
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+
+namespace Drupal\config_translation\Controller;
+
+use Drupal\Core\Entity\EntityListBuilderInterface;
+
+/**
+ * Defines an interface for configuration translation entity list builders.
+ */
+interface ConfigTranslationEntityListBuilderInterface extends EntityListBuilderInterface {
+
+  /**
+   * Sorts an array by value.
+   *
+   * @param array $a
+   *   First item for comparison.
+   * @param array $b
+   *   Second item for comparison.
+   *
+   * @return int
+   *   The comparison result for uasort().
+   */
+  public function sortRows($a, $b);
+
+  /**
+   * Sets the config translation mapper definition.
+   *
+   * @param mixed $mapper_definition
+   *   The plugin definition of the config translation mapper.
+   *
+   * @return $this
+   */
+  public function setMapperDefinition($mapper_definition);
+
+}