You are here

public function KeyConfigOverrideListBuilder::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/KeyConfigOverrideListBuilder.php, line 69

Class

KeyConfigOverrideListBuilder
Provides a listing of key configuration overrides.

Namespace

Drupal\key\Controller

Code

public function buildHeader() {
  $header['label'] = [
    'data' => $this
      ->t('Override name'),
    'class' => [
      RESPONSIVE_PRIORITY_LOW,
    ],
  ];
  $header['config_id'] = $this
    ->t('Configuration');
  $header['key_id'] = $this
    ->t('Key');
  return $header + parent::buildHeader();
}