function update_extra_requirements

7.x update.php update_extra_requirements($requirements = NULL)

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

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

File

drupal-7.x/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;
}