You are here

public function TemplateListBuilder::buildHeader in Wysiwyg API template plugin 3.0.x

Same name and namespace in other branches
  1. 8.2 src/TemplateListBuilder.php \Drupal\wysiwyg_template\TemplateListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

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

File

src/TemplateListBuilder.php, line 24

Class

TemplateListBuilder
Provides a listing of Template entities.

Namespace

Drupal\wysiwyg_template

Code

public function buildHeader() : array {
  $header['label'] = $this
    ->t('Template');
  return $header + parent::buildHeader();
}