You are here

public function BackupMigrate::setConfig in Backup and Migrate 8.4

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

\BackupMigrate\Core\Config\ConfigInterface $config:

File

lib/backup_migrate_core/src/Main/BackupMigrate.php, line 174

Class

BackupMigrate
The core Backup and Migrate service.

Namespace

BackupMigrate\Core\Main

Code

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