1 taxonomy_term_depth_access.inc | public TaxonomyTermDepthLayoutAccess::formSubmit($form, &$form_state) |
Submit handler for the settings form for this access item.
Overrides LayoutAccess::formSubmit
File
- core/
modules/ taxonomy/ layout/ taxonomy_term_depth_access.inc, line 45 - Plugin to provide access control based upon taxonomy term depth.
Class
- TaxonomyTermDepthLayoutAccess
- @file Plugin to provide access control based upon taxonomy term depth.
Code
public function formSubmit($form, &$form_state) {
parent::formSubmit($form, $form_state);
$this->settings['depth'] = $form_state['values']['depth'];
}