You are here

function entity_print_theme in Entity Print 7

Same name and namespace in other branches
  1. 8.2 entity_print.module \entity_print_theme()
  2. 8 entity_print.module \entity_print_theme()

Implements hook_theme().

File

./entity_print.module, line 252
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,
      ),
    ),
  );
}