You are here

public function SiteSettingEntityListBuilder::buildHeader in Site Settings and Labels 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()

1 call to SiteSettingEntityListBuilder::buildHeader()
SiteSettingEntityListBuilder::render in src/SiteSettingEntityListBuilder.php
Builds the entity listing as renderable array for table.html.twig.

File

src/SiteSettingEntityListBuilder.php, line 113

Class

SiteSettingEntityListBuilder
Defines a class to build a listing of Site Setting entities.

Namespace

Drupal\site_settings

Code

public function buildHeader() {
  $header['name'] = $this
    ->t('Name');
  $header['fieldset'] = $this
    ->t('Group');
  $header['value'] = $this
    ->t('Value');
  return $header + parent::buildHeader();
}