You are here

function taxonomy_variable_type_info in Variable 7.2

Same name and namespace in other branches
  1. 7 includes/taxonomy.variable.inc \taxonomy_variable_type_info()

Implements hook_variable_type_info()

File

includes/taxonomy.variable.inc, line 10
Variable API module. Definition for Drupal core variables

Code

function taxonomy_variable_type_info() {
  $type['vocabulary_vid'] = array(
    'title' => t('Vocabulary'),
    'options callback' => 'taxonomy_variable_vocabulary_vid_list',
  );
  $type['vocabulary_name'] = array(
    'title' => t('Vocabulary'),
    'options callback' => 'taxonomy_variable_vocabulary_name_list',
  );
  return $type;
}