function entity_print_theme in Entity Print 8.2
Same name and namespace in other branches
- 8 entity_print.module \entity_print_theme()
- 7 entity_print.module \entity_print_theme()
Implements hook_theme().
File
- ./
entity_print.module, line 18 - Print any entity.
Code
function entity_print_theme($existing, $type, $theme, $path) {
return [
'entity_print' => [
'path' => $path . '/templates',
'template' => 'entity-print',
'variables' => [
'title' => '',
'content' => NULL,
'entity_print_css' => NULL,
],
],
];
}