function TaxonomyHooks::theme

Implements hook_theme().

File

core/modules/taxonomy/src/Hook/TaxonomyHooks.php, line 75

Class

TaxonomyHooks
Hook implementations for taxonomy.

Namespace

Drupal\taxonomy\Hook

Code

public function theme() : array {
    return [
        'taxonomy_term' => [
            'render element' => 'elements',
        ],
    ];
}

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