taxonomy_term_uri($term)
Entity URI callback.
function taxonomy_term_uri($term) { return new Url('entity.taxonomy_term.canonical', array( 'taxonomy_term' => $term->id(), )); }
© 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/core!modules!taxonomy!taxonomy.module/function/taxonomy_term_uri/8.1.x