cms/drupal/modules/simpletest/tests/theme_test.inc
author ymh <ymh.work@gmail.com>
Fri, 15 Sep 2017 14:54:08 +0200
changeset 548 f624c19354e4
parent 541 e756a8c72c3d
permissions -rw-r--r--
to version 0.23

<?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';
}