public function ExampleConfigEntityListBuilder::buildHeader in Chaos Tool Suite (ctools) 8.3
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
- tests/
modules/ ctools_wizard_test/ src/ ExampleConfigEntityListBuilder.php, line 16
Class
- ExampleConfigEntityListBuilder
- Provides a listing of Example config entity entities.
Namespace
Drupal\ctools_wizard_testCode
public function buildHeader() {
$header['label'] = $this
->t('Example config entity');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}