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