1 installer.browser.inc | installer_browser_get_queued_projects($type = NULL) |
Gets the currently queued projects from the session.
File
- core/
modules/ installer/ installer.browser.inc, line 49 - Various functions that are required by the Installer browse pages.
Code
function installer_browser_get_queued_projects($type = NULL) {
$projects = array();
if (isset($_SESSION['installer_browser_install_list'])) {
foreach ($_SESSION['installer_browser_install_list'] as $project) {
if (is_array($project) && !empty($project)) {
if (isset($type) && $type != $project['type']) {
continue;
}
else {
$projects[$project['name']] = $project;
}
}
}
}
return $projects;
}