You are here

function quote_settings_form_validate in Quote 5

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

Validate quote settings form submission.

File

./quote.module, line 211

Code

function quote_settings_form_validate($form_id, $form_values, $form) {

  // Run the node type checkboxes through array_filter to strip unselected
  // items.
  form_set_value($form['quote']['node_types'], array_filter($form_values['quote']['node_types']));
}