15
modules/simpletest/tests/theme_test.inc
Normal file
15
modules/simpletest/tests/theme_test.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Returns HTML for the 'theme_test' theme hook used by tests.
|
||||
*/
|
||||
function theme_theme_test($variables) {
|
||||
return 'Theme hook implementor=theme_theme_test(). Foo=' . $variables['foo'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Preprocesses variables for theme_theme_test().
|
||||
*/
|
||||
function template_preprocess_theme_test(&$variables) {
|
||||
$variables['foo'] = 'template_preprocess_theme_test';
|
||||
}
|
||||
Reference in New Issue
Block a user