install_display_requirements

install_display_requirements($install_state, $requirements) Displays installation requirements. Parameters array $install_state: An array of information about the current installation state. array $requirements: An array of requirements, in the same format as is returned by hook_requirements(). Return value A themed status report, or an exception if there are requirement errors. If there are only requirement warnings, a themed status report is shown initially, but the user is allowed to bypas

install_display_output

install_display_output($output, $install_state) Displays themed installer output and ends the page request. Installation tasks should use #title to set the desired page title, but otherwise this function takes care of theming the overall page output during every step of the installation. Parameters $output: The content to display on the main part of the page. $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 961 API function

install_database_errors

install_database_errors($database, $settings_file) Checks a database connection and returns any errors. File core/includes/install.core.inc, line 1127 API functions for installing Drupal. Code function install_database_errors($database, $settings_file) { $errors = array(); // Check database type. $database_types = drupal_get_database_types(); $driver = $database['driver']; if (!isset($database_types[$driver])) { $errors['driver'] = t("In your %settings_file file you have config

install_core_entity_type_definitions

install_core_entity_type_definitions() Installs entity type definitions provided by core. File core/includes/install.core.inc, line 1519 API functions for installing Drupal. Code function install_core_entity_type_definitions() { $update_manager = \Drupal::entityDefinitionUpdateManager(); foreach (\Drupal::entityManager()->getDefinitions() as $entity_type) { if ($entity_type->getProvider() == 'core') { $update_manager->installEntityType($entity_type); } } }

install_check_translations

install_check_translations($langcode, $server_pattern) Checks installation requirements and reports any errors. Parameters string $langcode: Language code to check for download. string $server_pattern: Server access pattern (to replace language code, version number, etc. in). Return value array Requirements compliance array. If the translation was downloaded successfully then an empty array is returned. Otherwise the requirements error with detailed information. File core/includes/install.cor

install_check_requirements

install_check_requirements($install_state) Checks installation requirements and reports any errors. File core/includes/install.core.inc, line 1949 API functions for installing Drupal. Code function install_check_requirements($install_state) { $profile = $install_state['parameters']['profile']; // Check the profile requirements. $requirements = drupal_check_profile($profile); if ($install_state['settings_verified']) { return $requirements; } // If Drupal is not set up alread

install_check_localization_server

install_check_localization_server($uri) Checks if the localization server can be contacted. Parameters string $uri: The URI to contact. Return value string TRUE if the URI was contacted successfully, FALSE if not. File core/includes/install.core.inc, line 1391 API functions for installing Drupal. Code function install_check_localization_server($uri) { try { \Drupal::httpClient()->head($uri); return TRUE; } catch (RequestException $e) { return FALSE; } }

install_bootstrap_full

install_bootstrap_full() Performs a full bootstrap of Drupal during installation. File core/includes/install.core.inc, line 1455 API functions for installing Drupal. Code function install_bootstrap_full() { // Store the session on the request object and start it. /** @var \Symfony\Component\HttpFoundation\Session\SessionInterface $session */ $session = \Drupal::service('session'); \Drupal::request()->setSession($session); $session->start(); }

install_begin_request

install_begin_request($class_loader, &$install_state) Begins an installation request, modifying the installation state as needed. This function performs commands that must run at the beginning of every page request. It throws an exception if the installation should not proceed. Parameters $class_loader: The class loader. Normally Composer's ClassLoader, as included by the front controller, but may also be decorated; e.g., \Symfony\Component\ClassLoader\ApcClassLoader. $install_state: An ar

install_base_system

install_base_system(&$install_state) Installation task; install the base functionality Drupal needs to bootstrap. Parameters $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 1035 API functions for installing Drupal. Code function install_base_system(&$install_state) { // Install system.module. drupal_install_system($install_state); // Call file_ensure_htaccess() to ensure that all of Drupal's standard //