You are here

interface WrapperPluginInterface in Backup and Migrate 5.0.x

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

@package Drupal\backup_migrate\Drupal\EntityPlugins

Hierarchy

Expanded class hierarchy of WrapperPluginInterface

All classes that implement WrapperPluginInterface

File

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

Namespace

Drupal\backup_migrate\Drupal\EntityPlugins
View source
interface WrapperPluginInterface extends ConfigurableInterface, DependentPluginInterface {

  /**
   * Alter the backup_migrate object to add the source and required services.
   *
   * @param \Drupal\backup_migrate\Core\Main\BackupMigrateInterface $bam
   *   The BackupMigrate object to add plugins and services to.
   * @param string $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, array $options = []);

}

Members

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