public function KeyListBuilder::buildHeader in Key 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/
Controller/ KeyListBuilder.php, line 56
Class
- KeyListBuilder
- Provides a listing of keys.
Namespace
Drupal\key\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Key');
$header['type'] = [
'data' => $this
->t('Type'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
$header['provider'] = [
'data' => $this
->t('Provider'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
$header['overrides'] = [
'data' => $this
->t('Overrides'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
return $header + parent::buildHeader();
}