You are here

function theme_theme_test_foo in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module \theme_theme_test_foo()
  2. 9 core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module \theme_theme_test_foo()

Theme function for testing theme('theme_test_foo').

1 theme call to theme_theme_test_foo()
ThemeTestCase::testRegistryRebuild in modules/simpletest/tests/theme.test
Ensures the theme registry is rebuilt when modules are disabled/enabled.

File

modules/simpletest/tests/theme_test.module, line 169

Code

function theme_theme_test_foo($variables) {
  return $variables['foo'];
}