function farm_livestock_weight_group_report_form_submit in farmOS 7
Submit handler for the weight report form
1 string reference to 'farm_livestock_weight_group_report_form_submit'
- farm_livestock_weight_group_report_form in modules/
farm/ farm_livestock/ farm_livestock_weight/ farm_livestock_weight.module - Animal group report form.
File
- modules/
farm/ farm_livestock/ farm_livestock_weight/ farm_livestock_weight.module, line 442 - Farm livestock weight module.
Code
function farm_livestock_weight_group_report_form_submit($form, &$form_state) {
$results = farm_livestock_weight_group_report($form_state);
$form_state['graph-settings'] = $results['graph-settings'];
$form_state['graph-markup'] = $results['graph-markup'];
$form_state['results_table'] = $results['table'];
$form_state['rebuild'] = TRUE;
}