function WorkflowListBuilder::buildHeader
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
File
-
core/
modules/ workflows/ src/ WorkflowListBuilder.php, line 61
Class
- WorkflowListBuilder
- Provides a listing of Workflow entities.
Namespace
Drupal\workflowsCode
public function buildHeader() {
$header['label'] = $this->t('Workflow');
$header['type'] = $this->t('Type');
$header['states'] = $this->t('States');
return $header + parent::buildHeader();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.