You are here

abstract public function WrapperPluginBase::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

Overrides WrapperPluginInterface::alterBackupMigrate

See also

hook_backup_migrate_service_object_alter()

2 methods override WrapperPluginBase::alterBackupMigrate()
DestinationPluginBase::alterBackupMigrate in src/Drupal/EntityPlugins/DestinationPluginBase.php
Alter the backup_migrate object to add the source and required services.
SourcePluginBase::alterBackupMigrate in src/Drupal/EntityPlugins/SourcePluginBase.php
Alter the backup_migrate object to add the source and required services.

File

src/Drupal/EntityPlugins/WrapperPluginBase.php, line 40

Class

WrapperPluginBase
A base class for a Drupal source or destination wrapper plugin.

Namespace

Drupal\backup_migrate\Drupal\EntityPlugins

Code

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