Mercurial > hg > isophonics-drupal-site
comparison core/modules/update/src/Controller/UpdateController.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
43 * @return array | 43 * @return array |
44 * A build array with the update status of projects. | 44 * A build array with the update status of projects. |
45 */ | 45 */ |
46 public function updateStatus() { | 46 public function updateStatus() { |
47 $build = [ | 47 $build = [ |
48 '#theme' => 'update_report' | 48 '#theme' => 'update_report', |
49 ]; | 49 ]; |
50 if ($available = update_get_available(TRUE)) { | 50 if ($available = update_get_available(TRUE)) { |
51 $this->moduleHandler()->loadInclude('update', 'compare.inc'); | 51 $this->moduleHandler()->loadInclude('update', 'compare.inc'); |
52 $build['#data'] = update_calculate_project_data($available); | 52 $build['#data'] = update_calculate_project_data($available); |
53 } | 53 } |