function commerce_test_theme in Commerce Core 8.2
Implements hook_theme().
1 string reference to 'commerce_test_theme'
- MailHandlerThemeTest::setUp in tests/
src/ Kernel/ MailHandlerThemeTest.php
File
- tests/
modules/ commerce_test/ commerce_test.module, line 11 - Test module for Commerce.
Code
function commerce_test_theme($existing, $type, $theme, $path) {
return [
'render_entity' => [
'template' => 'commerce-test-entity-render',
'variables' => [
'entity' => NULL,
],
],
];
}