You are here

function taxonomy_term_edit_access in Drupal 7

Return edit access for a given term.

1 string reference to 'taxonomy_term_edit_access'
taxonomy_menu in modules/taxonomy/taxonomy.module
Implements hook_menu().

File

modules/taxonomy/taxonomy.module, line 375
Enables the organization of content into categories.

Code

function taxonomy_term_edit_access($term) {
  return user_access("edit terms in {$term->vid}") || user_access('administer taxonomy');
}