- Patch #614026 by JohnAlbin, dww: fxed update_manager_install_form() signature.
parent
ccdf82a500
commit
75f243f55c
|
@ -438,7 +438,21 @@ function update_manager_confirm_update_form_submit($form, &$form_state) {
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function update_manager_install_form(&$form_state) {
|
/**
|
||||||
|
* Build the form for the update manager page to install new projects.
|
||||||
|
*
|
||||||
|
* This presents a place to enter a URL or upload an archive file to use to
|
||||||
|
* install a new module or theme.
|
||||||
|
*
|
||||||
|
* @param $form
|
||||||
|
* @param $form_state
|
||||||
|
* @param $context
|
||||||
|
* String representing the context from which we're trying to install, can
|
||||||
|
* be: 'module', 'theme' or 'report'.
|
||||||
|
* @return
|
||||||
|
* The form array for selecting which project to install.
|
||||||
|
*/
|
||||||
|
function update_manager_install_form($form, &$form_state, $context) {
|
||||||
$form = array();
|
$form = array();
|
||||||
|
|
||||||
// Collect all the supported archive file extensions for the UI text.
|
// Collect all the supported archive file extensions for the UI text.
|
||||||
|
|
Loading…
Reference in New Issue