interface PluginCallerInterface in Backup and Migrate 5.0.x
For plugins which must have access to a plugin manager.
.. because they need to access other plugins.
@package Drupal\backup_migrate\Core\Plugin
Hierarchy
- interface \Drupal\backup_migrate\Core\Plugin\PluginCallerInterface
Expanded class hierarchy of PluginCallerInterface
All classes that implement PluginCallerInterface
6 files declare their use of PluginCallerInterface
- BackupMigrateInterface.php in src/
Core/ Main/ BackupMigrateInterface.php - BrowserDownloadDestination.php in src/
Core/ Destination/ BrowserDownloadDestination.php - FileDirectorySource.php in src/
Core/ Source/ FileDirectorySource.php - MetadataWriter.php in src/
Core/ Filter/ MetadataWriter.php - MySQLiSource.php in src/
Core/ Source/ MySQLiSource.php
File
- src/
Core/ Plugin/ PluginCallerInterface.php, line 12
Namespace
Drupal\backup_migrate\Core\PluginView source
interface PluginCallerInterface {
/**
* Inject the plugin manager.
*
* @param \Drupal\backup_migrate\Core\Plugin\PluginManagerInterface $plugins
*/
public function setPluginManager(PluginManagerInterface $plugins);
/**
* Get the plugin manager.
*
* @return \Drupal\backup_migrate\Core\Plugin\PluginManagerInterface
*/
public function plugins();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginCallerInterface:: |
public | function | Get the plugin manager. | |
PluginCallerInterface:: |
public | function | Inject the plugin manager. |