You are here

public function WorkflowListBuilder::buildHeader in Workflow 8

Building the header and content lines for the contact list.

Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.

Overrides EntityListBuilder::buildHeader

File

src/WorkflowListBuilder.php, line 23

Class

WorkflowListBuilder
Defines a class to build a listing of Workflow entities.

Namespace

Drupal\workflow

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['label'] = $this
    ->t('Label');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}