1 installer.pages.inc installer_browser_installation_enable_page($type = 'enable')

Task page for the Enable projects installation task.

Show a form which lets the user enable the newly installed projects.

File

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

Code

function installer_browser_installation_enable_page($type = 'enable') {
  module_load_include('inc', 'installer', 'installer.browser');
  $installed_projects = installer_browser_get_installed_projects();

  if (count($installed_projects) > 0) {
    return backdrop_get_form('installer_browser_installation_' . $type . '_form', $installed_projects);
  }
  else {
    backdrop_goto('admin/modules/install');
    return NULL;
  }
}