function TaxonomyHooks::theme

Implements hook_theme().

Attributes

#[Hook('theme')]

File

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

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.