taxonomy_term_uri

taxonomy_term_uri($term)

Entity URI callback.

File

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

Code

function taxonomy_term_uri($term) {
  return new Url('entity.taxonomy_term.canonical', array(
    'taxonomy_term' => $term->id(),
  ));
}
doc_Drupal
2016-10-29 09:46:33
Comments
Leave a Comment

Please login to continue.