public function ConfigTestListBuilder::buildHeader in Drupal 9
Same name and namespace in other branches
- 8 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 18
Class
- ConfigTestListBuilder
- Defines a class to build a listing of ConfigTest entities.
Namespace
Drupal\config_testCode
public function buildHeader() {
$header['label'] = t('Label');
$header['id'] = t('Machine name');
return $header + parent::buildHeader();
}