You are here

function _menu_select_hierarchy in Menu Select 7

Helper for a recursive function.

File

./menu_select.module, line 290
Expands the node menu select field functionality by adding filters and an expandable hierarchy.

Code

function _menu_select_hierarchy($menu_level, &$map) {
  $output = '';
  foreach ($menu_level as $key => $children) {
    $output .= '<li>' . $map[$key] . '</li>';
  }
}