Projet

Général

Profil

Révision c9e51f47

Ajouté par Julien Enselme il y a environ 7 ans

Udpate to 7.54

Voir les différences:

drupal7/includes/menu.inc
1606 1606
 * Implements template_preprocess_HOOK() for theme_menu_tree().
1607 1607
 */
1608 1608
function template_preprocess_menu_tree(&$variables) {
1609
  $variables['#tree'] = $variables['tree'];
1609 1610
  $variables['tree'] = $variables['tree']['#children'];
1610 1611
}
1611 1612

  
......
2682 2683
}
2683 2684

  
2684 2685
/**
2685
 * Clears the cached cached data for a single named menu.
2686
 * Clears the cached data for a single named menu.
2686 2687
 */
2687 2688
function menu_cache_clear($menu_name = 'navigation') {
2688 2689
  $cache_cleared = &drupal_static(__FUNCTION__, array());

Formats disponibles : Unified diff