function admin_process_all_definitions_form_submit
Search API
7.x admin.groups.inc | admin_process_all_definitions_form_submit($form, $form_submit) |
6.x admin.groups.inc | admin_process_all_definitions_form_submit($form, $form_submit) |
4.x admin.groups.inc | admin_process_all_definitions_form_submit($form, $form_submit) |
5.x admin.groups.inc | admin_process_all_definitions_form_submit($form, $form_submit) |
Actually perform the refreshing of definitions.
File
- modules/
admin/ admin.groups.inc, line 1656
Code
function admin_process_all_definitions_form_submit($form, $form_submit) {
$values = $form_submit ["values"];
$db = get_global_database_handler();
$de_catalog_year = $values ["de_catalog_year"];
watchdog("admin", "Processed group definitions for: $de_catalog_year");
// Okay, set up the batch....
$batch = array(
"operation" => array("admin_process_all_definitions_perform_batch_operation", array($de_catalog_year)),
"title" => t("Process all group definitions & settings for %year", array("%year" => $de_catalog_year)),
"file" => menu_get_module_path("admin") . "/admin.groups.inc",
"progress_message" => "Processing group @current of @total",
"display_percent" => TRUE,
);
// Set the batch...
batch_set($batch);
}