1 installer.pages.inc | installer_browser_install_button_form($form, &$form_state) |
Shows an install button for the Install Queue block.
File
- core/
modules/ installer/ installer.pages.inc, line 847 - Page callbacks used by the Installer browse pages.
Code
function installer_browser_install_button_form($form, &$form_state) {
$project_type = installer_browser_type_from_path();
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Install'),
);
$form['#action'] = url('admin/installer/install/select_versions');
$form['cancel'] = array(
'#type' => 'link',
'#name' => 'cancel',
'#title' => t('Clear queue'),
'#href' => 'admin/installer/reset/' . $project_type . '/clear',
'#options' => array(),
);
return $form;
}