function theme_theme_test in Drupal 8
Same name and namespace in other branches
- 7 modules/simpletest/tests/theme_test.inc \theme_theme_test()
- 9 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 - Include file for testing legacy theme functions.
Code
function theme_theme_test($variables) {
return 'Theme hook implementor=theme_theme_test(). Foo=' . $variables['foo'];
}