1.20.x taxonomy.module taxonomy_theme()

Implements hook_theme().

File

modules/taxonomy/taxonomy.module, line 283
Enables the organization of content into categories.

Code

function taxonomy_theme() {
  $base = array(
    'file' => 'taxonomy.theme.inc',
  );

  return array(
    'taxonomy_vocabulary_name' => array(
      'variables' => array('vocabulary' => NULL),
    ) + $base,
    'taxonomy_vocabulary_description' => array(
      'variables' => array('vocabulary' => NULL),
    ) + $base,
    'taxonomy_overview_terms' => array(
      'render element' => 'form',
    ) + $base,
    'taxonomy_term' => array(
      'render element' => 'elements',
      'template' => 'templates/taxonomy-term',
    ) + $base,
    'taxonomy_vocabulary_form_permissions' => array(
      'render element' => 'form',
      'function' => 'theme_user_admin_permissions',
    ),
  );
}