You are here

public function CkeditorTemplateListBuilder::buildHeader in Ckeditor templates user interface 8

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/Controller/CkeditorTemplateListBuilder.php, line 63

Class

CkeditorTemplateListBuilder
Builds the list of ckeditor templates for the ckeditor template form.

Namespace

Drupal\ckeditor_templates_ui\Controller

Code

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