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_pageCode
public function buildHeader() {
$header['label'] = $this
->t('Title');
$header['path'] = $this
->t('Path');
return $header + parent::buildHeader();
}