function ctools_term_vocabulary_ctools_access_settings_submit

Compress the term_vocabularys allowed to the minimum.

1 string reference to 'ctools_term_vocabulary_ctools_access_settings_submit'
term_vocabulary.inc in plugins/access/term_vocabulary.inc
Plugin to provide access control based upon term vocabulary.

File

plugins/access/term_vocabulary.inc, line 52

Code

function ctools_term_vocabulary_ctools_access_settings_submit($form, &$form_state) {
    $form_state['values']['settings']['machine_name'] = array_filter($form_state['values']['settings']['machine_name']);
}