function _regions_top_nav_system_path

cis7 regions_top_nav.module _regions_top_nav_system_path()
cle7 regions_top_nav.module _regions_top_nav_system_path()
elmsmedia7 regions_top_nav.module _regions_top_nav_system_path()
icor7 regions_top_nav.module _regions_top_nav_system_path()
meedjum_blog7 regions_top_nav.module _regions_top_nav_system_path()
mooc7 regions_top_nav.module _regions_top_nav_system_path()
1 call to _regions_top_nav_system_path()
_regions_top_nav_output in sites/all/modules/elmsln_contrib/regions/modules/regions_top_nav/regions_top_nav.module
Helper function to position outut for top nav, a static area


sites/all/modules/elmsln_contrib/regions/modules/regions_top_nav/regions_top_nav.module, line 44
Add a top nav bar for dropping blocks into.


function _regions_top_nav_system_path() {
  $output = '';
  // dig out current menu path based on whats active
  $active_menu = menu_get_active_trail();
  // pop off the top of the content structure
  $active_menu[1] = $active_menu[0];
  // iterate each menu item and convert to valid breadcrumb
  foreach ($active_menu as $menu) {
    if (isset($menu['href'])) {
      $item = array();
      $item['element'] = array(
        '#title' => $menu['title'],
        '#href' => $menu['href'],
        '#localized_options' => $menu['localized_options'],
        '#attributes' => array(),
        '#below' => FALSE,
      $output .= theme('menu_link', $item);
  return $output;