You are here

function locale_test_theme in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}