function taxonomy_term_uri in Drupal 7
Same name and namespace in other branches
- 8 core/modules/taxonomy/taxonomy.module \taxonomy_term_uri()
- 9 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 - Enables the organization of content into categories.
Code
function taxonomy_term_uri($term) {
return array(
'path' => 'taxonomy/term/' . $term->tid,
);
}