changeset 541 | e756a8c72c3d |
540:07239de796bb | 541:e756a8c72c3d |
---|---|
1 <?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 } |