function ctools_term_settings_form_validate
1 string reference to 'ctools_term_settings_form_validate'
File
-
plugins/
arguments/ term.inc, line 141
Code
function ctools_term_settings_form_validate(&$form, &$form_state) {
// Filter the selected vocabularies to avoid storing redundant data.
$vocabularies = array_filter($form_state['values']['settings']['vocabularies']);
form_set_value($form['settings']['vocabularies'], $vocabularies, $form_state);
}