You are here

public function RoleSplitEntityListBuilder::buildHeader in Config Role Split 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/RoleSplitEntityListBuilder.php, line 16

Class

RoleSplitEntityListBuilder
Provides a listing of Role Split entities.

Namespace

Drupal\config_role_split

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Role Split');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}