function template_preprocess_theme_test

Same name in other branches
  1. 9 core/modules/system/tests/modules/theme_test/theme_test.inc \template_preprocess_theme_test()
  2. 8.9.x 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()
  4. 11.x 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';
}

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