function LocaleTestHooks::theme

Implements hook_theme().

Attributes

#[Hook('theme')]

File

core/modules/locale/tests/modules/locale_test/src/Hook/LocaleTestHooks.php, line 169

Class

LocaleTestHooks
Hook implementations for locale_test.

Namespace

Drupal\locale_test\Hook

Code

public function theme() : array {
  $return = [];
  $return['locale_test_tokenized'] = [
    'variable' => [
      'content' => '',
    ],
  ];
  return $return;
}

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