public function BUEditorEditorListBuilder::buildHeader in BUEditor 8.2
Same name and namespace in other branches
- 8 src/BUEditorEditorListBuilder.php \Drupal\bueditor\BUEditorEditorListBuilder::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
- src/
BUEditorEditorListBuilder.php, line 18
Class
- BUEditorEditorListBuilder
- Defines a class to build a list of BUEditor Editor entities.
Namespace
Drupal\bueditorCode
public function buildHeader() {
$header['label'] = $this
->t('Name');
$header['description'] = $this
->t('Description');
$header['toolbar'] = $this
->t('Toolbar');
return $header + parent::buildHeader();
}