public function CookiesServiceEntityListBuilder::buildHeader in COOKiES Consent Management 1.0.x
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/
CookiesServiceEntityListBuilder.php, line 16
Class
- CookiesServiceEntityListBuilder
- Provides a listing of Cookie service entity entities.
Namespace
Drupal\cookiesCode
public function buildHeader() {
$header['label'] = $this
->t('COOKiES service entity');
$header['id'] = $this
->t('Machine name');
$header['group'] = $this
->t('Service Group');
$header['enabled'] = $this
->t('Enabled');
return $header + parent::buildHeader();
}