You are here

public function SearchApiPageListBuilder::buildHeader in Search API Pages 8

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/SearchApiPageListBuilder.php, line 18

Class

SearchApiPageListBuilder
Provides a listing of Search page entities.

Namespace

Drupal\search_api_page

Code

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