function taxonomy_term_uri

Same name in other branches
  1. 9 core/modules/taxonomy/taxonomy.module \taxonomy_term_uri()
  2. 8.9.x core/modules/taxonomy/taxonomy.module \taxonomy_term_uri()

Implements callback_entity_info_uri().

1 string reference to 'taxonomy_term_uri'
taxonomy_entity_info in modules/taxonomy/taxonomy.module
Implements hook_entity_info().

File

modules/taxonomy/taxonomy.module, line 145

Code

function taxonomy_term_uri($term) {
    return array(
        'path' => 'taxonomy/term/' . $term->tid,
    );
}

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