updated core to 7.66

This commit is contained in:
2019-04-23 15:45:23 +02:00
parent 3d5c5ad2f6
commit ec21d1e45f
186 changed files with 2603 additions and 691 deletions
+6 -2
View File
@@ -283,6 +283,8 @@ function taxonomy_menu() {
'title' => 'Taxonomy term',
'title callback' => 'taxonomy_term_title',
'title arguments' => array(2),
// The page callback also invokes drupal_set_title() in case
// the menu router's title is overridden by a menu link.
'page callback' => 'taxonomy_term_page',
'page arguments' => array(2),
'access arguments' => array('access content'),
@@ -1714,13 +1716,15 @@ function taxonomy_field_formatter_prepare_view($entity_type, $entities, $field,
}
/**
* Title callback for term pages.
* Title callback: Returns the title of the taxonomy term.
*
* @param $term
* A term object.
*
* @return
* The term name to be used as the page title.
* An unsanitized string that is the title of the taxonomy term.
*
* @see taxonomy_menu()
*/
function taxonomy_term_title($term) {
return $term->name;