Issue #1067120 follow-up by David_Rothstein, Berdir: Docs fixes for taxonomy.api.php.
parent
864fb0a04f
commit
c564e0f7fb
|
@ -227,9 +227,9 @@ function hook_taxonomy_term_delete(Drupal\taxonomy\Term $term) {
|
|||
/**
|
||||
* Act on a taxonomy term that is being assembled before rendering.
|
||||
*
|
||||
* The module may add elements to $term->content prior to rendering. This hook
|
||||
* will be called after hook_view(). The structure of $term->content is a
|
||||
* renderable array as expected by drupal_render().
|
||||
* The module may add elements to $term->content prior to rendering. The
|
||||
* structure of $term->content is a renderable array as expected by
|
||||
* drupal_render().
|
||||
*
|
||||
* @param $term
|
||||
* The term that is being assembled for rendering.
|
||||
|
|
|
@ -35,9 +35,6 @@ function taxonomy_term_page(Term $term) {
|
|||
drupal_set_breadcrumb($breadcrumb);
|
||||
drupal_add_feed('taxonomy/term/' . $term->tid . '/feed', 'RSS - ' . $term->label());
|
||||
|
||||
// If there is a menu link to this term, the link becomes the last part
|
||||
// of the active trail, and the link name becomes the page title.
|
||||
// Thus, we must explicitly set the page title to be the node title.
|
||||
$uri = $term->uri();
|
||||
|
||||
// Set the term path as the canonical URL to prevent duplicate content.
|
||||
|
|
Loading…
Reference in New Issue