public function ModerationStateListBuilder::buildHeader in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 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 15
Class
- ModerationStateListBuilder
- Provides a listing of Moderation state entities.
Namespace
Drupal\workbench_moderationCode
public function buildHeader() {
$header['label'] = $this
->t('Moderation state');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}