You are here

function template_preprocess_theme_test in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/theme_test/theme_test.inc \template_preprocess_theme_test()
  2. 9 core/modules/system/tests/modules/theme_test/theme_test.inc \template_preprocess_theme_test()
  3. 10 core/modules/system/tests/modules/theme_test/theme_test.inc \template_preprocess_theme_test()

Preprocesses variables for theme_theme_test().

File

modules/simpletest/tests/theme_test.inc, line 13

Code

function template_preprocess_theme_test(&$variables) {
  $variables['foo'] = 'template_preprocess_theme_test';
}