function template_preprocess_theme_test

Same name in other branches
  1. 7.x modules/simpletest/tests/theme_test.inc \template_preprocess_theme_test()
  2. 9 core/modules/system/tests/modules/theme_test/theme_test.inc \template_preprocess_theme_test()
  3. 8.9.x core/modules/system/tests/modules/theme_test/theme_test.inc \template_preprocess_theme_test()
  4. 10 core/modules/system/tests/modules/theme_test/theme_test.inc \template_preprocess_theme_test()

Preprocesses variables for theme_theme_test().

File

core/modules/system/tests/modules/theme_test/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.