function theme_theme_test

Same name and namespace in other branches
  1. 7.x modules/simpletest/tests/theme_test.inc \theme_theme_test()
  2. 8.9.x core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.inc \theme_theme_test()

Returns HTML for the 'theme_test' theme hook used by tests.

1 string reference to 'theme_theme_test'
theme_legacy_test_theme in core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module
Implements hook_theme().

File

core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.inc, line 11

Code

function theme_theme_test($variables) {
    return 'Theme hook implementor=theme_theme_test(). Foo=' . $variables['foo'];
}

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