function admin_process_all_definitions_form
Search API
7.x admin.groups.inc | admin_process_all_definitions_form() |
6.x admin.groups.inc | admin_process_all_definitions_form() |
4.x admin.groups.inc | admin_process_all_definitions_form() |
5.x admin.groups.inc | admin_process_all_definitions_form() |
File
- modules/
admin/ admin.groups.inc, line 1302
Code
function admin_process_all_definitions_form() {
$form = array();
$de_catalog_year = admin_get_de_catalog_year();
fp_set_title(t("Process all group definitions and settings for @year", array("@year" => $de_catalog_year)));
$m = 0;
$form ["mark" . $m++] = array(
"type" => "markup",
"value" => t("This will cause all of the groups with definitions and other settings (ex: catalog repeats) to be cleared, and their
course requirements re-processed. This function can take several minutes, depending
on how many groups with definitions you have."),
);
$form ["de_catalog_year"] = array(
"type" => "hidden",
"value" => $de_catalog_year,
);
$form ["submit"] = array(
"type" => "submit",
"value" => t("Process groups"),
"description" => t("Can take several minutes to run. Only click once!"),
);
return $form;
}