public function PluginCallerTrait::plugins in Backup and Migrate 5.0.x
Get the plugin manager.
Return value
\Drupal\backup_migrate\Core\Plugin\PluginManagerInterface
File
- src/
Core/ Plugin/ PluginCallerTrait.php, line 31
Class
- PluginCallerTrait
- Implements the injection code for a PluginCallerInterface object.
Namespace
Drupal\backup_migrate\Core\PluginCode
public function plugins() {
// Return the list of plugins or a blank placeholder.
return $this->plugins ? $this->plugins : new PluginManager();
}