public function ContentHubCommonActions::getUpdateDbStatus in Acquia Content Hub 8.2
Update db status.
Return value
array Returns a list of all the pending database updates..
File
- src/
ContentHubCommonActions.php, line 529
Class
- ContentHubCommonActions
- Common actions across the entirety of Content Hub.
Namespace
Drupal\acquia_contenthubCode
public function getUpdateDbStatus() : array {
require_once DRUPAL_ROOT . "/core/includes/install.inc";
require_once DRUPAL_ROOT . "/core/includes/update.inc";
drupal_load_updates();
return \update_get_update_list();
}