function ConfigTestListBuilder::buildRow

Same name in other branches
  1. 9 core/modules/config/tests/config_test/src/ConfigTestListBuilder.php \Drupal\config_test\ConfigTestListBuilder::buildRow()
  2. 8.9.x core/modules/config/tests/config_test/src/ConfigTestListBuilder.php \Drupal\config_test\ConfigTestListBuilder::buildRow()
  3. 10 core/modules/config/tests/config_test/src/ConfigTestListBuilder.php \Drupal\config_test\ConfigTestListBuilder::buildRow()

Overrides EntityListBuilder::buildRow

File

core/modules/config/tests/config_test/src/ConfigTestListBuilder.php, line 29

Class

ConfigTestListBuilder
Defines a class to build a listing of ConfigTest entities.

Namespace

Drupal\config_test

Code

public function buildRow(EntityInterface $entity) {
    $row['label'] = $entity->label();
    $row['id'] = $entity->id();
    return $row + parent::buildRow($entity);
}

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