theme_legacy_test.inc in Drupal 9
Same filename and directory in other branches
Include file for testing legacy theme functions.
File
core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.incView source
<?php
/**
* @file
* Include file for testing legacy theme functions.
*/
/**
* 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'];
}
Functions
Name | Description |
---|---|
theme_theme_test | Returns HTML for the 'theme_test' theme hook used by tests. |