function taxonomy_term_edit_access

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.