You are here

interface WrapperPluginInterface in Backup and Migrate 8.4

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

Class WrapperPluginInterface.

@package BackupMigrate\Drupal\EntityPlugins

Hierarchy

Expanded class hierarchy of WrapperPluginInterface

All classes that implement WrapperPluginInterface

File

src/EntityPlugins/WrapperPluginInterface.php, line 15

Namespace

BackupMigrate\Drupal\EntityPlugins
View source
interface WrapperPluginInterface extends ConfigurablePluginInterface {

  /**
   * Alter the backup and migrate object to add the source and required services.
   *
   * @param \BackupMigrate\Core\Main\BackupMigrateInterface $bam
   *  The BackupMigrate object to add plugins and services to.
   * @param $key
   *  The id of the source to add.
   * @param array $options
   *  The alter options.
   *
   * @see hook_backup_migrate_service_object_alter()
   *
   * @return mixed
   */
  public function alterBackupMigrate(BackupMigrateInterface $bam, $key, $options = []);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurablePluginInterface::defaultConfiguration public function Gets default configuration for this plugin. 1
ConfigurablePluginInterface::getConfiguration public function Gets this plugin's configuration. 1
ConfigurablePluginInterface::setConfiguration public function Sets the configuration for this plugin instance. 1
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 19
WrapperPluginInterface::alterBackupMigrate public function Alter the backup and migrate object to add the source and required services. 1