root / drupal7 / modules / simpletest / tests / theme_test.inc @ c22e192e
1 | 85ad3d82 | Assos Assos | <?php |
---|---|---|---|
2 | |||
3 | /** |
||
4 | * Returns HTML for the 'theme_test' theme hook used by tests. |
||
5 | */ |
||
6 | function theme_theme_test($variables) { |
||
7 | return 'Theme hook implementor=theme_theme_test(). Foo=' . $variables['foo']; |
||
8 | } |
||
9 | |||
10 | /** |
||
11 | * Preprocesses variables for theme_theme_test(). |
||
12 | */ |
||
13 | function template_preprocess_theme_test(&$variables) { |
||
14 | $variables['foo'] = 'template_preprocess_theme_test'; |
||
15 | } |