You are here

function taxonomy_access_field_attach_validate in Taxonomy Access Control 7

Implements hook_field_attach_validate().

For form validation:

See also

taxonomy_access_options_validate()

taxonomy_access_autocomplete_validate()

File

./taxonomy_access.module, line 294
Allows administrators to specify access control for taxonomy categories.

Code

function taxonomy_access_field_attach_validate($entity_type, $entity, &$errors) {

  // Add create grant handling.
  module_load_include('inc', 'taxonomy_access', 'taxonomy_access.create');
  _taxonomy_access_field_validate($entity_type, $entity, $errors);
}