Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TaxonomyHooks.php

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',
        ],
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal