You are here

function theme_theme_test in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.inc \theme_theme_test()
  2. 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 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'];
}