1 installer.pages.inc installer_browser_project_display($project)

Page to display individual projects in a modal.

Parameters

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

Return value

array: Render array of a themed project.

File

core/modules/installer/installer.pages.inc, line 155
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;
}