You are here

public function PluginManagerInterface::map in Backup and Migrate 8.4

Call all plugins which support the given operation. Return the results in an array keyed by the plugin id.

Params is an array of extra params which may be used. Plugins should expect these to be passed as a keyed array.

Parameters

string $op: The name of the operation to be called.

mixed $operand: If there in an object being operated on (eg. a backup file) it will be passed to each plugin in succession. If not then this will be NULL.

array $params: Optional operation parameters as a key/value array

Return value

array

1 method overrides PluginManagerInterface::map()
PluginManager::map in lib/backup_migrate_core/src/Plugin/PluginManager.php
Call all plugins which support the given operation. Return the results in an array keyed by the plugin id.

File

lib/backup_migrate_core/src/Plugin/PluginManagerInterface.php, line 93

Class

PluginManagerInterface
Manage all of the available Plugins.

Namespace

BackupMigrate\Core\Plugin

Code

public function map($op, $params = []);