author | ymh <ymh.work@gmail.com> |
Fri, 17 Nov 2017 18:02:24 +0100 | |
changeset 568 | fd2a9b706231 |
parent 541 | e756a8c72c3d |
permissions | -rwxr-xr-x |
<?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'; }