function system_confirm_db_updates_form
Search API
7.x system.module | system_confirm_db_updates_form() |
6.x system.module | system_confirm_db_updates_form() |
4.x system.module | system_confirm_db_updates_form() |
5.x system.module | system_confirm_db_updates_form() |
Display a confirmation form before we run the db updates (hook_updates)
Return value
unknown
File
- modules/
system/ system.module, line 614
Code
function system_confirm_db_updates_form() {
$form = array();
$m = 0;
$form ["mark" . $m++] = array(
"value" => t("Are you sure you wish to run the database updates?
This will find modules which have been updated, and now need to
make database changes.") . "
<br><br>
" . t("You should back up your entire database first, just in case a problem
occurs!"),
);
$form ["submit"] = array(
"type" => "submit",
"value" => t("Continue"),
"prefix" => "<hr>",
"suffix" => " <a href='javascript: history.go(-1);'>" . t("Cancel") . "</a>",
);
$form ["mark" . $m++] = array(
"value" => t("Press only once, as this make take several moments to run."),
);
return $form;
}