You are here

function install_verify_requirements in Drupal 10

Same name and namespace in other branches
  1. 8 core/includes/install.core.inc \install_verify_requirements()
  2. 7 includes/install.core.inc \install_verify_requirements()
  3. 9 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

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

1 string reference to 'install_verify_requirements'
install_tasks in core/includes/install.core.inc
Returns a list of all tasks the installer currently knows about.

File

core/includes/install.core.inc, line 1078
API functions for installing Drupal.

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