public function TagListBuilder::buildHeader in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/TagListBuilder.php \Drupal\xbbcode\TagListBuilder::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/
TagListBuilder.php, line 16
Class
- TagListBuilder
- Build a table view of custom tags.
Namespace
Drupal\xbbcodeCode
public function buildHeader() : array {
$header['tag'] = $this
->t('Name');
$header['description'] = $this
->t('Description');
$header['sample'] = $this
->t('Sample');
return $header + parent::buildHeader();
}