You are here

function taxonomy_menu_taxonomy_menu_vocabulary_settings in Taxonomy menu 8

Same name and namespace in other branches
  1. 7.2 taxonomy_menu.admin.inc \taxonomy_menu_taxonomy_menu_vocabulary_settings()

Implements hook_taxonomy_menu_vocabulary_settings()

1 call to taxonomy_menu_taxonomy_menu_vocabulary_settings()
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.

File

./taxonomy_menu.admin.inc, line 261
Administrative page callbacks for the Taxonomy menu module.

Code

function taxonomy_menu_taxonomy_menu_vocabulary_settings() {
  $defaults = array(
    'vocab_parent' => 0,
    'vocab_menu' => 0,
    'path' => 0,
    'sync' => TRUE,
    'rebuild' => FALSE,
    'expanded' => TRUE,
    'term_item_description' => FALSE,
    'display_num' => FALSE,
    'hide_empty_terms' => FALSE,
    'flat' => FALSE,
    'voc_item_description' => FALSE,
    'voc_item' => FALSE,
    'voc_name' => '',
    //'display_descendants' => FALSE,
    'end_all' => FALSE,
    'display_title_attr' => FALSE,
  );
  return $defaults;
}