public function SettingsProfileListBuilder::buildHeader in Backup and Migrate 8.4
Same name and namespace in other branches
- 5.0.x src/Controller/SettingsProfileListBuilder.php \Drupal\backup_migrate\Controller\SettingsProfileListBuilder::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/ SettingsProfileListBuilder.php, line 16
Class
- SettingsProfileListBuilder
- Provides a listing of Settings Profile entities.
Namespace
Drupal\backup_migrate\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Profile Name');
$header['id'] = $this
->t('Machine name');
$header['compression'] = $this
->t('Compression');
$header['offline'] = $this
->t('Take site offline');
$header['description'] = $this
->t('Description');
return $header + parent::buildHeader();
}