protected DbUpdateController::getModuleUpdates()
Retrieves module updates.
Return value
array The module updates that can be performed.
File
- core/modules/system/src/Controller/DbUpdateController.php, line 695
Class
- DbUpdateController
- Controller routines for database update routes.
Namespace
Drupal\system\Controller
Code
protected function getModuleUpdates() { $return = array(); $updates = update_get_update_list(); foreach ($updates as $module => $update) { $return[$module] = $update['start']; } return $return; }
Please login to continue.