public function PatchInfoDrupalorgCommands::__construct in PatchInfo 8.2
Constructs update status data.
Parameters
\Drupal\update\UpdateManagerInterface $update_manager: Update Manager Service.
\Drupal\patchinfo_drupalorg\PatchinfoDrupalorgService $patchinfo_drupalorg_service: Patchinfo Drupal.org Service.
Overrides PatchInfoCommands::__construct
File
- modules/
patchinfo_drupalorg/ src/ Commands/ PatchInfoDrupalorgCommands.php, line 165
Class
- PatchInfoDrupalorgCommands
- A Drush commandfile for the patchinfo_drupalorg:list command.
Namespace
Drupal\patchinfo_drupalorg\CommandsCode
public function __construct(UpdateManagerInterface $update_manager, PatchinfoDrupalorgService $patchinfo_drupalorg_service) {
PatchInfoCommands::__construct($update_manager);
$this->updateManager = $update_manager;
$this->patchinfoDrupalorgService = $patchinfo_drupalorg_service;
}