You are here

public function PluginManager::get in Backup and Migrate 8.4

Get the item with the given id.

Parameters

$id:

Return value

\BackupMigrate\Core\Plugin\PluginInterface The item specified by the id or NULL if it doesn't exist.

Overrides PluginManagerInterface::get

File

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

Class

PluginManager
Class PluginManager.

Namespace

BackupMigrate\Core\Plugin

Code

public function get($id) {
  return isset($this->items[$id]) ? $this->items[$id] : NULL;
}