You are here

public function WrapperPluginInterface::alterBackupMigrate in Backup and Migrate 8.4

Alter the backup and migrate object to add the source and required services.

Parameters

\BackupMigrate\Core\Main\BackupMigrateInterface $bam: The BackupMigrate object to add plugins and services to.

$key: The id of the source to add.

array $options: The alter options.

Return value

mixed

See also

hook_backup_migrate_service_object_alter()

1 method overrides WrapperPluginInterface::alterBackupMigrate()
WrapperPluginBase::alterBackupMigrate in src/EntityPlugins/WrapperPluginBase.php
Alter the backup and migrate object to add the source and required services.

File

src/EntityPlugins/WrapperPluginInterface.php, line 31

Class

WrapperPluginInterface
An interface for a plugin which wraps a Backup and Migrate plugin.

Namespace

BackupMigrate\Drupal\EntityPlugins

Code

public function alterBackupMigrate(BackupMigrateInterface $bam, $key, $options = []);