You are here

function trumba_theme in Trumba 7

Same name and namespace in other branches
  1. 8 trumba.module \trumba_theme()
  2. 2.x trumba.module \trumba_theme()

Implements hook_theme().

File

./trumba.module, line 60
Put Trumba spuds everywhere!

Code

function trumba_theme($existing, $type, $theme, $path) {
  $return = array();
  $module_directory = drupal_get_path('module', 'trumba');
  $return['trumba_calendar'] = array(
    'variables' => array(
      'spud_id' => NULL,
    ),
    'path' => $module_directory . "/templates/",
    'template' => 'trumba-calendar',
  );
  return $return;
}