You are here

public function BackupMigrate::setDestinationManager in Backup and Migrate 5.0.x

Set the destinations plugin manager.

Parameters

\Drupal\backup_migrate\Core\Plugin\PluginManagerInterface $destinations:

Overrides BackupMigrateInterface::setDestinationManager

File

src/Core/Main/BackupMigrate.php, line 199

Class

BackupMigrate
The core Backup and Migrate service.

Namespace

Drupal\backup_migrate\Core\Main

Code

public function setDestinationManager(PluginManagerInterface $destinations) {
  $this->destinations = $destinations;
}