function common_test_theme
Same name in other branches
- 7.x modules/simpletest/tests/common_test.module \common_test_theme()
- 9 core/modules/system/tests/modules/common_test/common_test.module \common_test_theme()
- 10 core/modules/system/tests/modules/common_test/common_test.module \common_test_theme()
- 11.x 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
Code
function common_test_theme() {
return [
'common_test_foo' => [
'variables' => [
'foo' => 'foo',
'bar' => 'bar',
],
],
'common_test_render_element' => [
'render element' => 'foo',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.