You are here

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

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

... See full list

File

src/Core/Plugin/PluginCallerInterface.php, line 12

Namespace

Drupal\backup_migrate\Core\Plugin
View 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

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