function update_extra_requirements

update_extra_requirements($requirements = NULL)

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

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/update.php/function/update_extra_requirements/7.x