public function UpdateController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/update/src/Controller/UpdateController.php \Drupal\update\Controller\UpdateController::__construct()
Constructs update status data.
Parameters
\Drupal\update\UpdateManagerInterface $update_manager: Update Manager Service.
File
- core/
modules/ update/ src/ Controller/ UpdateController.php, line 32 - Contains \Drupal\update\Controller\UpdateController.
Class
- UpdateController
- Controller routines for update routes.
Namespace
Drupal\update\ControllerCode
public function __construct(UpdateManagerInterface $update_manager) {
$this->updateManager = $update_manager;
}