function term_depth_term_depth_ctools_access_settings_submit
Submit function for the access plugins settings.
1 string reference to 'term_depth_term_depth_ctools_access_settings_submit'
- term_depth.inc in term_depth/
plugins/ access/ term_depth.inc - Plugin to provide access control based upon a parent term.
File
-
term_depth/
plugins/ access/ term_depth.inc, line 73
Code
function term_depth_term_depth_ctools_access_settings_submit($form, $form_state) {
$form_state['conf']['depth'] = (int) $form_state['values']['settings']['depth'];
$form_state['conf']['vocabulary'] = array_filter($form_state['conf']['vocabulary']);
}