1 installer.pages.inc installer_browser_installation_enable_form_submit($form, &$form_state)

Form submit handler for the enable modules form.

File

core/modules/installer/installer.pages.inc, line 765
Page callbacks used by the Installer browse pages.

Code

function installer_browser_installation_enable_form_submit($form, &$form_state) {
  $enable_queue = array_filter($form_state['values']['modules']);
  // Enable these all at once so that dependencies are handled properly.
  module_enable($enable_queue);
  unset($_SESSION['installer_browser_installed_projects']);
  backdrop_flush_all_caches();
  backdrop_set_message(t('Installation is complete.'));
  backdrop_goto('admin/modules/install');
}