function ConfigTranslationEntityListBuilder::buildRow

Same name in other branches
  1. 9 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::buildRow()
  2. 8.9.x core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::buildRow()
  3. 11.x core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::buildRow()

Overrides EntityListBuilder::buildRow

2 methods override ConfigTranslationEntityListBuilder::buildRow()
ConfigTranslationBlockListBuilder::buildRow in core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php
Builds a row for an entity in the entity listing.
ConfigTranslationFieldListBuilder::buildRow in core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php
Builds a row for an entity in the entity listing.

File

core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php, line 65

Class

ConfigTranslationEntityListBuilder
Defines the configuration translation list builder for entities.

Namespace

Drupal\config_translation\Controller

Code

public function buildRow(EntityInterface $entity) {
    $row['label']['data'] = $entity->label();
    $row['label']['class'][] = 'table-filter-text-source';
    return $row + parent::buildRow($entity);
}

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