You are here

function _taxonomy_menu_group_display in Taxonomy menu 6.3

determine if the menu should be disable or enable

Parameters

$group object:

Return value

link

File

./taxonomy_menu.admin.inc, line 330
admin section for taxonomy menu

Code

function _taxonomy_menu_group_display($group) {
  if ($group->enabled) {
    return l(t('Disable'), TAXONOMY_MENU_BASE_PATH . $group->mgid . '/disable');
  }
  else {
    return l(t('Enable'), TAXONOMY_MENU_BASE_PATH . $group->mgid . '/enable');
  }
}