You are here

function update_extra_requirements in Drupal 7

Returns and stores extra requirements that apply during the update process.

2 calls to update_extra_requirements()
update_check_requirements in ./update.php
Checks update requirements and reports errors and (optionally) warnings.
update_prepare_d7_bootstrap in includes/update.inc
Performs extra steps required to bootstrap when using a Drupal 6 database.

File

./update.php, line 341
Administrative page for handling updates from one Drupal version to another.

Code

function update_extra_requirements($requirements = NULL) {
  static $extra_requirements = array();
  if (isset($requirements)) {
    $extra_requirements += $requirements;
  }
  return $extra_requirements;
}