You are here

public function TaskTypeListBuilder::buildHeader in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_tasks/src/TaskTypeListBuilder.php \Drupal\gdpr_tasks\TaskTypeListBuilder::buildHeader()
  2. 3.0.x modules/gdpr_tasks/src/TaskTypeListBuilder.php \Drupal\gdpr_tasks\TaskTypeListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

modules/gdpr_tasks/src/TaskTypeListBuilder.php, line 16

Class

TaskTypeListBuilder
Provides a listing of Task type entities.

Namespace

Drupal\gdpr_tasks

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Task type');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}