You are here

public function FacetListBuilder::buildHeader in Facets 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()

1 call to FacetListBuilder::buildHeader()
FacetListBuilder::buildForm in src/FacetListBuilder.php
Form constructor.

File

src/FacetListBuilder.php, line 91

Class

FacetListBuilder
Builds a listing of facet entities.

Namespace

Drupal\facets

Code

public function buildHeader() {
  $header = [
    'type' => $this
      ->t('Type'),
    'machine_name' => $this
      ->t('Machine name'),
    'title' => [
      'data' => $this
        ->t('Title'),
    ],
  ];
  return $header + parent::buildHeader();
}