summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/common_test.module
blob: 71d384d10a7394880dbf3c392693bfcbc3d432c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
// $Id$

/**
 * @file
 * Helper module for the Common tests.
 */

/**
 * Implement hook_theme().
 */
function common_test_theme() {
  return array(
    'common_test_foo' => array(
      'arguments' => array('foo' => 'foo', 'bar' => 'bar'),
    ),
  );
}

/**
 * Theme function for testing drupal_render() theming.
 */
function theme_common_test_foo($foo, $bar) {
  return $foo . $bar;
}