ConfigTranslationEntityListBuilderInterface.php

Same filename and directory in other branches
  1. 9 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php
  2. 10 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php
  3. 11.x core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php

Namespace

Drupal\config_translation\Controller

File

core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php

View source
<?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);

}

Interfaces

Title Deprecated Summary
ConfigTranslationEntityListBuilderInterface Defines an interface for configuration translation entity list builders.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.