function taxonomy_term_uri

taxonomy_term_uri($term)

Implements callback_entity_info_uri().

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,
  );
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.module/function/taxonomy_term_uri/7.x