1 install.core.inc install_verify_requirements(&$install_state)

Verifies the requirements for installing Backdrop.

Parameters

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

Return value

string|NULL: A themed status report, or an exception if there are requirement errors.

File

core/includes/install.core.inc, line 794
API functions for installing Backdrop.

Code

function install_verify_requirements(&$install_state) {
  // Check the installation requirements for Backdrop and this profile.
  $requirements = install_check_requirements($install_state);

  // Verify existence of all required modules.
  $requirements += backdrop_verify_profile($install_state);

  return install_display_requirements($install_state, $requirements);
}