update_extra_requirements

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

Returns (and optionally stores) extra requirements that only apply during particular parts of the update.php process.

2 calls to update_extra_requirements()

File

./update.php, line 316
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;
}
Login or register to post comments