function locale_test_theme

Same name in other branches
  1. 8.9.x core/modules/locale/tests/modules/locale_test/locale_test.module \locale_test_theme()
  2. 10 core/modules/locale/tests/modules/locale_test/locale_test.module \locale_test_theme()
  3. 11.x 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

Code

function locale_test_theme() {
    $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.