function taxonomy_access_options_validate in Taxonomy Access Control 7
Form element validation handler for taxonomy options fields.
See also
taxonomy_access_field_widget_form_alter()
1 string reference to 'taxonomy_access_options_validate'
- _taxonomy_access_options_alter in ./
taxonomy_access.create.inc - Implements the create grant for options widgets.
File
- ./
taxonomy_access.module, line 1619 - Allows administrators to specify access control for taxonomy categories.
Code
function taxonomy_access_options_validate($element, &$form_state) {
// Enforce that list grants do not filter this or subsequent validation.
taxonomy_access_disable_list();
// Add create grant handling.
module_load_include('inc', 'taxonomy_access', 'taxonomy_access.create');
_taxonomy_access_options_validate($element, $form_state);
}