install.inc

API functions for installing modules and themes.

File

core/includes/install.inc

Functions

Name Description
db_installer_object Returns a database installer object.
drupal_check_module Checks a module's requirements.
drupal_check_profile Checks an installation profile's requirements.
drupal_current_script_url Returns the URL of the current script, with modified query parameters.
drupal_detect_database_types Detects all supported databases that are compiled into PHP.
drupal_get_database_types Returns all supported database driver installer objects.
drupal_install_config_directories Creates the config directory and ensures it is operational.
drupal_install_fix_file Attempts to fix file permissions.
drupal_install_mkdir Creates a directory with the specified permissions.
drupal_install_profile_distribution_name Loads the installation profile, extracting its defined distribution name.
drupal_install_profile_distribution_version Loads the installation profile, extracting its defined version.
drupal_install_system Installs the system module.
drupal_load_updates Loads .install files for installed modules to initialize the update system.
drupal_requirements_severity Extracts the highest severity from the requirements array.
drupal_requirements_url Returns a URL for proceeding to the next page after a requirements problem.
drupal_rewrite_settings Replaces values in settings.php with values in the submitted array.
drupal_verify_install_file Verifies the state of the specified file.
drupal_verify_profile Verifies that all dependencies are met for a given installation profile.
install_ensure_config_directory Deprecated Ensures that the config directory exists and is writable, or can be made so.
install_goto Sends the user to a different installer page.
install_profile_info Retrieves information about an installation profile from its .info.yml file.
_drupal_rewrite_settings_dump Helper for drupal_rewrite_settings().
_drupal_rewrite_settings_dump_one Helper for drupal_rewrite_settings().
_drupal_rewrite_settings_global Helper for drupal_rewrite_settings().
_drupal_rewrite_settings_is_array_index Helper for drupal_rewrite_settings().
_drupal_rewrite_settings_is_simple Helper for drupal_rewrite_settings().

Constants

Name Description
FILE_EXECUTABLE File permission check -- File is executable.
FILE_EXIST File permission check -- File exists.
FILE_NOT_EXECUTABLE File permission check -- File is not executable.
FILE_NOT_EXIST File permission check -- File does not exist.
FILE_NOT_READABLE File permission check -- File is not readable.
FILE_NOT_WRITABLE File permission check -- File is not writable.
FILE_READABLE File permission check -- File is readable.
FILE_WRITABLE File permission check -- File is writable.
REQUIREMENT_ERROR Requirement severity -- Error condition; abort installation.
REQUIREMENT_INFO Requirement severity -- Informational message only.
REQUIREMENT_OK Requirement severity -- Requirement successfully met.
REQUIREMENT_WARNING Requirement severity -- Warning condition; proceed but flag warning.
doc_Drupal
2016-10-29 09:20:49
Comments
Leave a Comment

Please login to continue.