function ModeratedNodeListBuilder::buildHeader

Same name in other branches
  1. 9 core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::buildHeader()
  2. 10 core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::buildHeader()
  3. 11.x core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::buildHeader()

Overrides NodeListBuilder::buildHeader

File

core/modules/content_moderation/src/ModeratedNodeListBuilder.php, line 102

Class

ModeratedNodeListBuilder
Defines a class to build a listing of moderated node entities.

Namespace

Drupal\content_moderation

Code

public function buildHeader() {
    $header = parent::buildHeader();
    $header['status'] = $this->t('Moderation state');
    return $header;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.