function theme_theme_test_foo

Same name in other branches
  1. 9 core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module \theme_theme_test_foo()
  2. 8.9.x 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'];
}

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