theme_test.inc in Zircon Profile 8
Same filename and directory in other branches
File
core/modules/system/tests/modules/theme_test/theme_test.incView source
<?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';
}
Functions
Name | Description |
---|---|
template_preprocess_theme_test | Preprocesses variables for theme_theme_test(). |
theme_theme_test | Returns HTML for the 'theme_test' theme hook used by tests. |