You are here

public function MaestroTemplateListBuilder::buildHeader in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Controller/MaestroTemplateListBuilder.php \Drupal\maestro\Controller\MaestroTemplateListBuilder::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\EntityListController::render()

File

src/Controller/MaestroTemplateListBuilder.php, line 26

Class

MaestroTemplateListBuilder
Provides a listing of Maestro Template entities.

Namespace

Drupal\maestro\Controller

Code

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