interface ConfigTranslationEntityListBuilderInterface

Same name in other branches
  1. 9 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilderInterface
  2. 8.9.x core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilderInterface
  3. 10 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilderInterface

Defines an interface for configuration translation entity list builders.

Hierarchy

Expanded class hierarchy of ConfigTranslationEntityListBuilderInterface

All classes that implement ConfigTranslationEntityListBuilderInterface

File

core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilderInterface.php, line 10

Namespace

Drupal\config_translation\Controller
View source
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);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ConfigTranslationEntityListBuilderInterface::setMapperDefinition public function Sets the config translation mapper definition. 1
ConfigTranslationEntityListBuilderInterface::sortRows public function Sorts an array by value. 1
EntityListBuilderInterface::getOperations public function Provides an array of information to build a list of operation links. 1
EntityListBuilderInterface::getStorage public function Gets the entity storage. 1
EntityListBuilderInterface::load public function Loads entities of this type from storage for listing. 1
EntityListBuilderInterface::render public function Builds a listing of entities for the given entity type. 1

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