You are here

public function DestinationListBuilder::buildHeader in Backup and Migrate 8.4

Same name and namespace in other branches
  1. 5.0.x src/Controller/DestinationListBuilder.php \Drupal\backup_migrate\Controller\DestinationListBuilder::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/DestinationListBuilder.php, line 16

Class

DestinationListBuilder
Provides a listing of Backup Destination entities.

Namespace

Drupal\backup_migrate\Controller

Code

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