Projet

Général

Profil

Révision cd5c298a

Ajouté par Geoffroy Desvernay il y a plus de 5 ans

MAJ 7.60 -> 7.62

Voir les différences:

drupal7/modules/taxonomy/taxonomy.module
283 283
    'title' => 'Taxonomy term',
284 284
    'title callback' => 'taxonomy_term_title',
285 285
    'title arguments' => array(2),
286
    // The page callback also invokes drupal_set_title() in case
287
    // the menu router's title is overridden by a menu link.
286 288
    'page callback' => 'taxonomy_term_page',
287 289
    'page arguments' => array(2),
288 290
    'access arguments' => array('access content'),
......
1714 1716
}
1715 1717

  
1716 1718
/**
1717
 * Title callback for term pages.
1719
 * Title callback: Returns the title of the taxonomy term.
1718 1720
 *
1719 1721
 * @param $term
1720 1722
 *   A term object.
1721 1723
 *
1722 1724
 * @return
1723
 *   The term name to be used as the page title.
1725
 *   An unsanitized string that is the title of the taxonomy term.
1726
 *
1727
 * @see taxonomy_menu()
1724 1728
 */
1725 1729
function taxonomy_term_title($term) {
1726 1730
  return $term->name;

Formats disponibles : Unified diff