function taxonomy_theme

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/taxonomy.module \taxonomy_theme()
  2. 8.9.x core/modules/taxonomy/taxonomy.module \taxonomy_theme()
  3. 10 core/modules/taxonomy/taxonomy.module \taxonomy_theme()

Implements hook_theme().

File

modules/taxonomy/taxonomy.module, line 241

Code

function taxonomy_theme() {
  return array(
    'taxonomy_overview_vocabularies' => array(
      'render element' => 'form',
    ),
    'taxonomy_overview_terms' => array(
      'render element' => 'form',
    ),
    'taxonomy_term' => array(
      'render element' => 'elements',
      'template' => 'taxonomy-term',
    ),
  );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.