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

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

File

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

Code

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