You are here

public function ModerationStateListBuilder::buildHeader in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/ModerationStateListBuilder.php \Drupal\workbench_moderation\ModerationStateListBuilder::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/ModerationStateListBuilder.php, line 16

Class

ModerationStateListBuilder
Provides a listing of Moderation state entities.

Namespace

Drupal\workbench_moderation

Code

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