function _taxonomy_menu_get_term_set_parent_item_options in Taxonomy menu 6.3
Get the terms for the term set items releated to the menu group
Parameters
$items:
Return value
array (tid => term)
1 call to _taxonomy_menu_get_term_set_parent_item_options()
- taxonomy_menu_group_form in ./
taxonomy_menu.admin.inc - Implementation of hook_form().
File
- ./
taxonomy_menu.admin.inc, line 905 - admin section for taxonomy menu
Code
function _taxonomy_menu_get_term_set_parent_item_options($items) {
$output = array();
if ($items) {
foreach ($items as $item) {
$output[$item->tsid . ':' . $item->tid] = str_repeat('-', $item->depth) . $item->name;
}
}
array_unshift($output, t('None'));
return $output;
}