You are here

public function BackupController::listDestinationEntityBackupsTitle in Backup and Migrate 8.4

Same name and namespace in other branches
  1. 5.0.x src/Controller/BackupController.php \Drupal\backup_migrate\Controller\BackupController::listDestinationEntityBackupsTitle()

Get the title for the listing page of a destination entity.

Parameters

\Drupal\backup_migrate\Entity\Destination $backup_migrate_destination:

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup

1 string reference to 'BackupController::listDestinationEntityBackupsTitle'
backup_migrate.routing.yml in ./backup_migrate.routing.yml
backup_migrate.routing.yml

File

src/Controller/BackupController.php, line 61

Class

BackupController
Class BackupController.

Namespace

Drupal\backup_migrate\Controller

Code

public function listDestinationEntityBackupsTitle(Destination $backup_migrate_destination) {
  return $this
    ->t('Backups in @destination_name', [
    '@destination_name' => $backup_migrate_destination
      ->label(),
  ]);
}