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
public function buildHeader() { $header['label'] = $this->t('Moderation state'); $header['id'] = $this->t('Machine name'); return $header + parent::buildHeader(); }
Please login to continue.