public function AnalyticsServiceListBuilder::buildHeader in Analytics 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/
AnalyticsServiceListBuilder.php, line 29
Class
- AnalyticsServiceListBuilder
- Provides a listing of analytics instances.
Namespace
Drupal\analyticsCode
public function buildHeader() {
$header['label'] = [
'data' => $this
->t('Label'),
];
$header['service'] = [
'data' => $this
->t('Service'),
];
$header['status'] = [
'data' => $this
->t('Status'),
];
return $header + parent::buildHeader();
}