install_install_profile
function install_install_profile
install_install_profile(&$install_state)
Installs the install profile.
Parameters
$install_state: An array of information about the current installation state.
File
- core/includes/install.core.inc, line 1552
- API functions for installing Drupal.
Code
function install_install_profile(&$install_state) { \Drupal::service('module_installer')->install(array(drupal_get_profile()), FALSE); // Install all available optional config. During installation the module order // is determined by dependencies. If there are no dependencies between modules // then the order in which they are installed is dependent on random factors // like PHP version. Optional configuration therefore might or mig