function taxonomy_theme

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

Implements hook_theme().

File

core/modules/taxonomy/taxonomy.module, line 52

Code

function taxonomy_theme() {
    return [
        'taxonomy_term' => [
            'render element' => 'elements',
        ],
    ];
}

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