install_verify_requirements

install_verify_requirements(&$install_state)

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.

File

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

Code

1
2
3
4
5
6
7
8
9
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);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.