public function AbstractSolrEntityListBuilder::buildHeader in Search API Solr 8.3
Same name and namespace in other branches
- 4.x src/Controller/AbstractSolrEntityListBuilder.php \Drupal\search_api_solr\Controller\AbstractSolrEntityListBuilder::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\EntityListBuilder::render()
1 call to AbstractSolrEntityListBuilder::buildHeader()
- SolrFieldTypeListBuilder::buildHeader in src/
Controller/ SolrFieldTypeListBuilder.php - Builds the header row for the entity listing.
1 method overrides AbstractSolrEntityListBuilder::buildHeader()
- SolrFieldTypeListBuilder::buildHeader in src/
Controller/ SolrFieldTypeListBuilder.php - Builds the header row for the entity listing.
File
- src/
Controller/ AbstractSolrEntityListBuilder.php, line 49
Class
- AbstractSolrEntityListBuilder
- Provides a listing of Solr Entities.
Namespace
Drupal\search_api_solr\ControllerCode
public function buildHeader() {
$header = [
'label' => $this
->t('@label', [
'@before' => $this->label,
]),
'minimum_solr_version' => $this
->t('Minimum Solr Version'),
'option' => $this
->t('@optionLabel', [
'@optionLabel' => $this->option_label,
]),
'id' => $this
->t('Machine name'),
'enabled' => $this
->t('Enabled'),
];
return $header + parent::buildHeader();
}