You are here

public function PluginManagerInterface::add in Backup and Migrate 5.0.x

Add an item to the manager.

Parameters

$id:

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

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

File

src/Core/Plugin/PluginManagerInterface.php, line 21

Class

PluginManagerInterface
Manage all of the available Plugins.

Namespace

Drupal\backup_migrate\Core\Plugin

Code

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