You are here

function timefield_theme in Timefield 7

Same name and namespace in other branches
  1. 1.0.x timefield.module \timefield_theme()

Implements hook_theme().

File

./timefield.module, line 86
Defines a Field API field for time

Code

function timefield_theme() {
  return array(
    'timefield' => array(
      'variables' => array(
        'time' => NULL,
        'settings' => NULL,
        'format' => NULL,
      ),
      'template' => 'timefield',
      'path' => drupal_get_path('module', 'timefield') . '/theme',
    ),
    'timefield_weekly_summary_minical_box' => array(
      'render element' => 'element',
      'template' => 'timefield-weekly-minical-box',
      'path' => drupal_get_path('module', 'timefield') . '/theme',
    ),
  );
}