function StatusInfoDrupal8::getStatus

8.0.x StatusInfoDrupal8.php StatusInfoDrupal8::getStatus($projects, $check_disabled)
7.x StatusInfoDrupal8.php StatusInfoDrupal8::getStatus($projects, $check_disabled)
master StatusInfoDrupal8.php StatusInfoDrupal8::getStatus($projects, $check_disabled)

Get update information for all installed projects.

Return value

Array of update status information.

Overrides StatusInfoInterface::getStatus

File

lib/Drush/UpdateService/StatusInfoDrupal8.php, line 57
Implementation of 'drupal' update_status engine for Drupal 8.

Namespace

Drush\UpdateService

Class

StatusInfoDrupal8

Code

function getStatus($projects, $check_disabled) {
  $this->beforeGetStatus($projects, $check_disabled);
  $available = $this->getAvailableReleases();
  $update_info = $this->calculateUpdateStatus($available, $projects);
  $this->afterGetStatus($update_info, $projects, $check_disabled);
  return $update_info;
}