function common_test_theme

Same name in other branches
  1. 9 core/modules/system/tests/modules/common_test/common_test.module \common_test_theme()
  2. 8.9.x core/modules/system/tests/modules/common_test/common_test.module \common_test_theme()
  3. 10 core/modules/system/tests/modules/common_test/common_test.module \common_test_theme()
  4. 11.x core/modules/system/tests/modules/common_test/common_test.module \common_test_theme()

Implements hook_theme().

File

modules/simpletest/tests/common_test.module, line 225

Code

function common_test_theme() {
    return array(
        'common_test_foo' => array(
            'variables' => array(
                'foo' => 'foo',
                'bar' => 'bar',
            ),
        ),
    );
}

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