You are here

public function WorkflowListBuilder::buildHeader in Forms Steps 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/Controller/WorkflowListBuilder.php, line 26

Class

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

Namespace

Drupal\forms_steps\Controller

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['instance_id'] = $this
    ->t('Instance ID');
  $header['entity_type'] = $this
    ->t('Entity Type');
  $header['bundle'] = $this
    ->t('Bundle');
  $header['entity_id'] = $this
    ->t('Entity ID');
  $header['form_mode'] = $this
    ->t('Form Mode');
  $header['forms_steps'] = $this
    ->t('Workflow Name');
  $header['step'] = $this
    ->t('Step');
  return $header + parent::buildHeader();
}