You are here

public function PluginManagerInterface::add in Backup and Migrate 8.4

Add an item to the manager.

Parameters

$id:

\BackupMigrate\Core\Plugin\PluginInterface|object $item: The source to add.

1 method overrides PluginManagerInterface::add()
PluginManager::add in lib/backup_migrate_core/src/Plugin/PluginManager.php
Add an item to the manager.

File

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

Class

PluginManagerInterface
Manage all of the available Plugins.

Namespace

BackupMigrate\Core\Plugin

Code

public function add($id, PluginInterface $item);