function configuration_stop_tracking_form_submit in Configuration Management 7
Submit handler for stop tracking configs.
1 string reference to 'configuration_stop_tracking_form_submit'
- configuration_tracking_form in ./
configuration.admin.inc - Menu Callback Form.
File
- ./
configuration.admin.inc, line 524
Code
function configuration_stop_tracking_form_submit($form, &$form_state) {
// Values are saved for each page.
// to carry forward to subsequent pages in the form.
// and we tell FAPI to rebuild the form.
$form_state['page_values'][1] = $form_state['values'];
if (!empty($form_state['page_values'][2])) {
$form_state['values'] = $form_state['page_values'][2];
}
// Only when click the "Stop Tracking" button, we move to the step two.
$form_state['page_num'] = 2;
$form_state['rebuild'] = TRUE;
}