function locale_test_theme in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/tests/modules/locale_test/locale_test.module \locale_test_theme()
- 10 core/modules/locale/tests/modules/locale_test/locale_test.module \locale_test_theme()
Implements hook_theme().
File
- core/
modules/ locale/ tests/ modules/ locale_test/ locale_test.module, line 163 - Simulate a custom module with a local po file.
Code
function locale_test_theme() {
$return = [];
$return['locale_test_tokenized'] = [
'variable' => [
'content' => '',
],
];
return $return;
}