function quote_settings_form_validate in Quote 6.2
Same name and namespace in other branches
- 5 quote.module \quote_settings_form_validate()
- 6 quote.admin.inc \quote_settings_form_validate()
- 7 quote.admin.inc \quote_settings_form_validate()
Validate quote settings form submission.
File
- ./
quote.admin.inc, line 83 - Admin page callbacks for the quote module.
Code
function quote_settings_form_validate($form, &$form_state) {
// Run the node type checkboxes through array_filter to strip unselected
// items.
form_set_value($form['quote']['node_types'], array_filter($form_state['values']['quote']['node_types']), $form_state);
}