You are here

public function WrapperPluginInterface::alterBackupMigrate in Backup and Migrate 5.0.x

Alter the backup_migrate object to add the source and required services.

Parameters

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

string $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/Drupal/EntityPlugins/WrapperPluginBase.php
Alter the backup_migrate object to add the source and required services.

File

src/Drupal/EntityPlugins/WrapperPluginInterface.php, line 30

Class

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

Namespace

Drupal\backup_migrate\Drupal\EntityPlugins

Code

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