You are here

function taxonomy_menu_hierarchy_taxonomy_menu_options in Taxonomy menu 6.2

Implementation of hook_taxonomy_menu_options().

Return value

array Uses the value to set the variable taxonomy_menu_<value>_$vid $options[value] default - optional. this is what will be used if the varialbe is not set. if empty then FALSE is used #title - required. any other form element

File

taxonomy_menu_hierarchy/taxonomy_menu_hierarchy.module, line 55
Enables Hierarchy path to Taxonomy Menu

Code

function taxonomy_menu_hierarchy_taxonomy_menu_options() {
  $options['hierarchy_base'] = array(
    '#title' => t('Base path for hierarchy path'),
    '#description' => t('Only used if the <em>Hierarchy path</em> type is selected.'),
    'default' => 'category',
    '#type' => 'textfield',
    '#weight' => -5,
  );
  return $options;
}