public function ModuleFilterUpdateController::updateStatus in Module Filter 8
Same name and namespace in other branches
- 8.3 src/Controller/ModuleFilterUpdateController.php \Drupal\module_filter\Controller\ModuleFilterUpdateController::updateStatus()
Returns a page about the update status of projects.
Return value
array A build array with the update status of projects.
Overrides UpdateController::updateStatus
File
- src/
Controller/ ModuleFilterUpdateController.php, line 16 - Contains \Drupal\module_filter\Controller\ModuleFilterUpdateController.
Class
- ModuleFilterUpdateController
- Wrapper function for update_status().
Namespace
Drupal\module_filter\ControllerCode
public function updateStatus() {
$this
->moduleHandler()
->loadInclude('update', 'report.inc');
$update_report = parent::updateStatus();
return [
'module_filter' => $this
->formBuilder()
->getForm('Drupal\\module_filter\\Form\\ModuleFilterUpdateStatusForm'),
'update_report' => $update_report,
];
}