function ctools_term_settings_form_validate

1 string reference to 'ctools_term_settings_form_validate'
term.inc in plugins/arguments/term.inc
Plugin to provide an argument handler for a Taxonomy term.

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);
}