function install_verify_requirements

Same name in other branches
  1. 7.x includes/install.core.inc \install_verify_requirements()
  2. 9 core/includes/install.core.inc \install_verify_requirements()
  3. 8.9.x core/includes/install.core.inc \install_verify_requirements()
  4. 11.x core/includes/install.core.inc \install_verify_requirements()

Verifies the requirements for installing Drupal.

Parameters

$install_state: An array of information about the current installation state.

Return value

array A themed status report, or an exception if there are requirement errors.

File

core/includes/install.core.inc, line 1107

Code

function install_verify_requirements(&$install_state) {
    // Check the installation requirements for Drupal and this profile.
    $requirements = install_check_requirements($install_state);
    // Verify existence of all required modules.
    $requirements += drupal_verify_profile($install_state);
    return install_display_requirements($install_state, $requirements);
}

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