Mercurial > hg > rr-repo
view modules/simpletest/tests/theme_test.inc @ 6:a75ead649730
added biblio, admin_menu and reference modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Fri, 20 Sep 2013 11:18:21 +0100 |
parents | ff03f76ab3fe |
children |
line wrap: on
line 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'; }