You are here

public function ModuleFilterUpdateController::updateStatus in Module Filter 8

Same name and namespace in other branches
  1. 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\Controller

Code

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,
  ];
}