You are here

public function ConfigSplitEntityListBuilder::buildHeader in Configuration Split 2.0.x

Same name and namespace in other branches
  1. 8 src/ConfigSplitEntityListBuilder.php \Drupal\config_split\ConfigSplitEntityListBuilder::buildHeader()

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/ConfigSplitEntityListBuilder.php, line 65

Class

ConfigSplitEntityListBuilder
Provides a listing of Configuration Split setting entities.

Namespace

Drupal\config_split

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Configuration Split setting');
  $header['id'] = $this
    ->t('Machine name');
  $header['description'] = $this
    ->t('Description');
  $header['current_status'] = $this
    ->t('Current status');
  $header['default_status'] = $this
    ->t('Default status');
  return $header + parent::buildHeader();
}