You are here

function recipe_html_theme in Recipe 7

Same name and namespace in other branches
  1. 6 plugins/recipe_html.module \recipe_html_theme()
  2. 7.2 modules/recipe_html.module \recipe_html_theme()

Implementation of hook_theme().

File

includes/recipe_html.module, line 75
recipe_html.module - Enables a print view for recipes. This supports full 8-1/2" x 11", and 5"x7" and 3"x5" index cards. Some printers may not be able to deal with small page sizes like this. They may have to print on…

Code

function recipe_html_theme() {
  return array(
    'recipe_html_page' => array(
      'template' => 'recipe_html_node',
      'variables' => array(
        'node' => NULL,
      ),
    ),
    'recipe_html_summary_box' => array(
      'function' => 'theme_recipe_html_summary_box',
      'variables' => array(
        'node' => NULL,
      ),
    ),
  );
}