You are here

function quote_settings_form_validate in Quote 6

Same name and namespace in other branches
  1. 5 quote.module \quote_settings_form_validate()
  2. 6.2 quote.admin.inc \quote_settings_form_validate()
  3. 7 quote.admin.inc \quote_settings_form_validate()

Validate quote settings form submission.

File

./quote.admin.inc, line 59
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);
}