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
- interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface
- interface \Drupal\backup_migrate\Drupal\EntityPlugins\WrapperPluginInterface
Expanded class hierarchy of WrapperPluginInterface
All classes that implement WrapperPluginInterface
File
- src/
Drupal/ EntityPlugins/ WrapperPluginInterface.php, line 14
Namespace
Drupal\backup_migrate\Drupal\EntityPluginsView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 14 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 15 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 15 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 20 |
WrapperPluginInterface:: |
public | function | Alter the backup_migrate object to add the source and required services. | 1 |