You are here

public function PluginManager::getAll in Backup and Migrate 8.4

Get a list of all of the items.

Return value

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

Overrides PluginManagerInterface::getAll

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

File

lib/backup_migrate_core/src/Plugin/PluginManager.php, line 84

Class

PluginManager
Class PluginManager.

Namespace

BackupMigrate\Core\Plugin

Code

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