function LocaleTestHooks::theme
Implements hook_theme().
File
-
core/
modules/ locale/ tests/ modules/ locale_test/ src/ Hook/ LocaleTestHooks.php, line 166
Class
- LocaleTestHooks
- Hook implementations for locale_test.
Namespace
Drupal\locale_test\HookCode
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.