You are here

function timefield_theme in Timefield 1.0.x

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

Implements hook_theme().

File

./timefield.module, line 326
Contains timefield.module.

Code

function timefield_theme() {
  return array(
    'timefield_formatter' => array(
      'render element' => 'element',
      'variables' => array(
        'label' => NULL,
        'label_display' => NULL,
        'label_hidden' => NULL,
        'items' => NULL,
        'settings' => NULL,
        'format' => NULL,
      ),
      'template' => 'timefield',
    ),
    'timefield_duration' => array(
      'render element' => 'element',
      'variables' => array(
        'label' => NULL,
        'label_display' => NULL,
        'label_hidden' => NULL,
        'items' => NULL,
        'settings' => NULL,
        'format' => NULL,
      ),
      'template' => 'timefield-duration',
    ),
    'timefield_weekly_summary_minical_box' => array(
      'render element' => 'element',
      'variables' => array(
        'label' => NULL,
        'label_display' => NULL,
        'label_hidden' => NULL,
        'items' => NULL,
        'settings' => NULL,
        'format' => NULL,
        'time' => NULL,
      ),
      'template' => 'timefield-weekly-minical-box',
    ),
    'timefield_mini_calendar' => array(
      'render element' => 'element',
      'variables' => array(
        'label' => NULL,
        'label_display' => NULL,
        'label_hidden' => NULL,
        'header' => NULL,
        'rows' => NULL,
        'content' => NULL,
      ),
      'template' => 'timefield-mini-calendar',
    ),
  );
}