You are here

public function SourceListBuilder::buildHeader in Backup and Migrate 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Controller/SourceListBuilder.php \Drupal\backup_migrate\Controller\SourceListBuilder::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

src/Controller/SourceListBuilder.php, line 16

Class

SourceListBuilder
Provides a listing of Backup Source entities.

Namespace

Drupal\backup_migrate\Controller

Code

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