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