1 installer.pages.inc installer_browser_project_display($project)

Page to display individual projects in a modal.

Parameters

$project: The short name of the project to be displayed in the modal.

Return value

Render array of a themed project.:

File

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

Code

function installer_browser_project_display($project) {
  $projects = $_SESSION['installer_browser_listed_projects'];
  $form['project_dialog'] = array(
    '#markup' => theme('installer_browser_project_dialog', array('project' => $projects[$project])),
  );
  return $form;
}