theme_legacy_test.inc

Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.inc

Include file for testing legacy theme functions.

File

core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.inc

View 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

Title Deprecated Summary
theme_theme_test Returns HTML for the 'theme_test' theme hook used by tests.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.