You are here

function office_hours_theme in Office Hours 6

Same name and namespace in other branches
  1. 8 office_hours.module \office_hours_theme()
  2. 6.2 office_hours.module \office_hours_theme()
  3. 7 office_hours.module \office_hours_theme()

Implementation of hook_theme().

File

./office_hours.module, line 11
Creates a field and widget for inserting working or office hours per day

Code

function office_hours_theme() {
  return array(
    'office_hours_formatter_default' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'office_hours.theme.inc',
    ),
    'office_hours_formatter_grouped' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'office_hours.theme.inc',
    ),
    'office_hours_display' => array(
      'arguments' => array(
        'dayname' => NULL,
        'hours' => NULL,
      ),
      'template' => 'office-hours-display',
    ),
    'office_hours' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'office_hours.theme.inc',
    ),
    'office_hours_multiple_values' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'office_hours.theme.inc',
    ),
    'office_hours_select' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'office_hours.theme.inc',
    ),
  );
}