You are here

public function PluginManager::getAll in Backup and Migrate 5.0.x

Get a list of all of the items.

Return value

\Drupal\backup_migrate\Core\Plugin\PluginInterface[] An ordered list of the sources, keyed by their id.

Overrides PluginManagerInterface::getAll

3 calls to PluginManager::getAll()
PluginManager::getAllByOp in src/Core/Plugin/PluginManager.php
Get all plugins that implement the given operation.
PluginManager::setConfig in src/Core/Plugin/PluginManager.php
Set the configuration. Reconfigure all of the installed plugins.
PluginManager::setServiceManager in src/Core/Plugin/PluginManager.php

File

src/Core/Plugin/PluginManager.php, line 83

Class

PluginManager
@package Drupal\backup_migrate\Core\Plugin

Namespace

Drupal\backup_migrate\Core\Plugin

Code

public function getAll() {
  return empty($this->items) ? [] : $this->items;
}