function theme_theme_test
Same name in other branches
- 9 core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.inc \theme_theme_test()
- 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 theme call to theme_theme_test()
- _theme_test_suggestion in modules/
simpletest/ tests/ theme_test.module - Page callback, calls a theme hook suggestion.
File
-
modules/
simpletest/ tests/ theme_test.inc, line 6
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.