You are here

public function ModuleFilterUpdateController::updateStatus in Module Filter 8.3

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

Class

ModuleFilterUpdateController
A wrapper controller for injecting the filter into the update status page.

Namespace

Drupal\module_filter\Controller

Code

public function updateStatus() {
  $build = [
    '#type' => 'container',
    '#attributes' => [
      'id' => 'update-status',
    ],
  ];
  $build['module_filter'] = $this
    ->formBuilder()
    ->getForm('Drupal\\module_filter\\Form\\ModuleFilterUpdateStatusForm');
  $build['update_report'] = parent::updateStatus();
  return $build;
}