function update_extra_requirements

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 337

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.