You are here

interface PluginCallerInterface in Backup and Migrate 8.4

Interface PluginCallerPluginInterface.

@package BackupMigrate\Core\Plugin

An interface for plugins which need to access other plugins and therefore must have access to a plugin manager.

Hierarchy

Expanded class hierarchy of PluginCallerInterface

All classes that implement PluginCallerInterface

7 files declare their use of PluginCallerInterface
BackupMigrateInterface.php in lib/backup_migrate_core/src/Main/BackupMigrateInterface.php
BrowserDownloadDestination.php in lib/backup_migrate_core/src/Destination/BrowserDownloadDestination.php
DebugDestination.php in lib/backup_migrate_core/src/Destination/DebugDestination.php
FileDirectorySource.php in lib/backup_migrate_core/src/Source/FileDirectorySource.php
MetadataWriter.php in lib/backup_migrate_core/src/Filter/MetadataWriter.php

... See full list

File

lib/backup_migrate_core/src/Plugin/PluginCallerInterface.php, line 15

Namespace

BackupMigrate\Core\Plugin
View source
interface PluginCallerInterface {

  /**
   * Inject the plugin manager.
   *
   * @param \BackupMigrate\Core\Plugin\PluginManagerInterface $plugins
   */
  public function setPluginManager(PluginManagerInterface $plugins);

  /**
   * Get the plugin manager.
   *    * @return \BackupMigrate\Core\Plugin\PluginManagerInterface.
   */
  public function plugins();

}

Members

Namesort descending Modifiers Type Description Overrides
PluginCallerInterface::plugins public function Get the plugin manager.
PluginCallerInterface::setPluginManager public function Inject the plugin manager.