You are here

function taxonomy_menu_variable_get in Taxonomy menu 7.2

Same name and namespace in other branches
  1. 8 taxonomy_menu.module \taxonomy_menu_variable_get()

Helper function to replace Drupal's variable_get() for Taxonomy menu. Gets a value per vocabulary.

15 calls to taxonomy_menu_variable_get()
taxonomy_menu_custom_paths_form_taxonomy_form_vocabulary_alter in taxonomy_menu_custom_paths/taxonomy_menu_custom_paths.module
Implements hook_form_FORM_ID_alter().
taxonomy_menu_form_taxonomy_form_vocabulary in ./taxonomy_menu.admin.inc
Form constructor for the vocabulary editing form. We add our taxonomy_menu settings in here on a per-vocabulary basis.
taxonomy_menu_menu_links_insert in ./taxonomy_menu.module
Inserts menu links associated to a vocabulary.
taxonomy_menu_menu_links_update in ./taxonomy_menu.module
Updates menu links associated to a vocabulary.
taxonomy_menu_menu_link_prepare in ./taxonomy_menu.module
Prepares a taxonomy item to be saved as a menu link.

... See full list

File

./taxonomy_menu.module, line 724
Generates menu links for all selected taxonomy terms.

Code

function taxonomy_menu_variable_get($key, $vid, $default) {
  return variable_get(_taxonomy_menu_build_variable($key, $vid), $default);
}