public function PluginManager::get in Backup and Migrate 5.0.x
Get the item with the given id.
Parameters
$id:
Return value
\Drupal\backup_migrate\Core\Plugin\PluginInterface The item specified by the id or NULL if it doesn't exist.
Overrides PluginManagerInterface::get
File
- src/
Core/ Plugin/ PluginManager.php, line 76
Class
- PluginManager
- @package Drupal\backup_migrate\Core\Plugin
Namespace
Drupal\backup_migrate\Core\PluginCode
public function get($id) {
return isset($this->items[$id]) ? $this->items[$id] : NULL;
}