Generates an array which displays a term detail page.
Drupal\taxonomy\Term $term: A taxonomy term object.
string $view_mode: View mode, e.g. 'full', 'teaser'...
string $langcode: (optional) A language code to use for rendering. Defaults to the global content language of the current request.
array A $page element suitable for use by drupal_page_render().
function taxonomy_term_view(Term $term, $view_mode = 'full', $langcode = NULL) {
return entity_view($term, $view_mode, $langcode);
}