template.theme-overrides.inc 452 B

12345678910111213141516
  1. <?php
  2. function jee_menu_item_link($link) {
  3. if (empty($link['localized_options'])) {
  4. $link['localized_options'] = array();
  5. }
  6. if (empty($link['localized_options']['attributes']['class'])) {
  7. $link['localized_options']['attributes']['class'] = 'menu-'. $link['mlid'];
  8. }
  9. else {
  10. $link['localized_options']['attributes']['class'] .= ' menu-'. $link['mlid'];
  11. }
  12. return l($link['title'], $link['href'], $link['localized_options']);
  13. }