public function IndexListBuilder::buildHeader in Search API 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()
1 call to IndexListBuilder::buildHeader()
- IndexListBuilder::render in src/
IndexListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- src/
IndexListBuilder.php, line 156
Class
- IndexListBuilder
- Builds a listing of search index entities.
Namespace
Drupal\search_apiCode
public function buildHeader() {
return [
'type' => $this
->t('Type'),
'title' => $this
->t('Name'),
'status' => $this
->t('Status'),
] + parent::buildHeader();
}