You are here

function common_test_theme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/common_test/common_test.module \common_test_theme()

Implements hook_theme().

File

core/modules/system/tests/modules/common_test/common_test.module, line 116
Helper module for the Common tests.

Code

function common_test_theme() {
  return array(
    'common_test_foo' => array(
      'variables' => array(
        'foo' => 'foo',
        'bar' => 'bar',
      ),
    ),
    'common_test_render_element' => array(
      'render element' => 'foo',
    ),
    'common_test_empty' => array(
      'variables' => array(
        'foo' => 'foo',
      ),
      'function' => 'theme_common_test_empty',
    ),
  );
}