You are here

public function PluginCallerTrait::setPluginManager in Backup and Migrate 5.0.x

Inject the plugin manager.

Parameters

\Drupal\backup_migrate\Core\Plugin\PluginManagerInterface $plugins:

File

src/Core/Plugin/PluginCallerTrait.php, line 22

Class

PluginCallerTrait
Implements the injection code for a PluginCallerInterface object.

Namespace

Drupal\backup_migrate\Core\Plugin

Code

public function setPluginManager(PluginManagerInterface $plugins) {
  $this->plugins = $plugins;
}