You are here

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

Set the configuration for the service.

This simply passes the configuration on to the plugin manager as all work is done by plugins. This can be called after the service is instantiated to pass new configuration to the plugins.

Parameters

\Drupal\backup_migrate\Core\Config\ConfigInterface $config:

File

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

Class

BackupMigrate
The core Backup and Migrate service.

Namespace

Drupal\backup_migrate\Core\Main

Code

public function setConfig(ConfigInterface $config) {
  $this
    ->plugins()
    ->setConfig($config);
}