You are here

public function ConfigTestListBuilder::buildHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config/tests/config_test/src/ConfigTestListBuilder.php \Drupal\config_test\ConfigTestListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

core/modules/config/tests/config_test/src/ConfigTestListBuilder.php, line 23
Contains \Drupal\config_test\ConfigTestListBuilder.

Class

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

Namespace

Drupal\config_test

Code

public function buildHeader() {
  $header['label'] = t('Label');
  $header['id'] = t('Machine name');
  return $header + parent::buildHeader();
}