ModerationStateListBuilder::buildHeader

public ModerationStateListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

core/modules/content_moderation/src/ModerationStateListBuilder.php, line 23

Class

ModerationStateListBuilder
Provides a listing of Moderation state entities.

Namespace

Drupal\content_moderation

Code

1
2
3
4
5
6
public function buildHeader() {
  $header['label'] = $this->t('Moderation state');
  $header['id'] = $this->t('Machine name');
 
  return $header + parent::buildHeader();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.