public function ClusterListBuilder::buildHeader in Elasticsearch Connector 8.2
Same name and namespace in other branches
- 8.7 src/Controller/ClusterListBuilder.php \Drupal\elasticsearch_connector\Controller\ClusterListBuilder::buildHeader()
- 8 src/Controller/ClusterListBuilder.php \Drupal\elasticsearch_connector\Controller\ClusterListBuilder::buildHeader()
- 8.5 src/Controller/ClusterListBuilder.php \Drupal\elasticsearch_connector\Controller\ClusterListBuilder::buildHeader()
- 8.6 src/Controller/ClusterListBuilder.php \Drupal\elasticsearch_connector\Controller\ClusterListBuilder::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 ClusterListBuilder::buildHeader()
- ClusterListBuilder::render in src/
Controller/ ClusterListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- src/
Controller/ ClusterListBuilder.php, line 103 - Contains \Drupal\elasticsearch_connector\Controller\ClusterListBuilder.
Class
- ClusterListBuilder
- Provides a listing of Clusters along with their indices.
Namespace
Drupal\elasticsearch_connector\ControllerCode
public function buildHeader() {
return array(
'type' => $this
->t('Type'),
'title' => $this
->t('Name'),
'machine_name' => $this
->t('Machine Name'),
'status' => $this
->t('Status'),
'cluster_status' => $this
->t('Cluster Status'),
) + parent::buildHeader();
}