public ModerationStateTransitionListBuilder::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/ModerationStateTransitionListBuilder.php, line 72
Class
- ModerationStateTransitionListBuilder
- Provides a listing of Moderation state transition entities.
Namespace
Drupal\content_moderation
Code
public function buildHeader() { $header['to'] = $this->t('To state'); $header['label'] = $this->t('Button label'); $header['roles'] = $this->t('Allowed roles'); return $header + parent::buildHeader(); }
Please login to continue.