You are here

function calendar_theme in Calendar 8

Same name and namespace in other branches
  1. 8.2 calendar.module \calendar_theme()
  2. 6.2 calendar.module \calendar_theme()
  3. 7.3 calendar.module \calendar_theme()
  4. 7 calendar.module \calendar_theme()
  5. 7.2 calendar.module \calendar_theme()

Implements hook_theme().

File

./calendar.module, line 109

Code

function calendar_theme() {
  return [
    'calendar_mini' => [
      'variables' => [
        'view' => NULL,
        'options' => [],
        'rows' => [],
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_month_multiple_entity' => [
      'variables' => [
        'curday' => NULL,
        'count' => NULL,
        'view' => NULL,
        'ids' => NULL,
      ],
    ],
    'calendar_datebox' => [
      'variables' => [
        'date' => NULL,
        'view' => NULL,
        'items' => NULL,
        'selected' => NULL,
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_empty_day' => [
      'variables' => [
        'curday' => NULL,
        'view' => NULL,
      ],
    ],
    'calendar_month_col' => [
      'variables' => [
        'item' => NULL,
      ],
    ],
    'calendar_month_row' => [
      'variables' => [
        'inner' => NULL,
        'class' => NULL,
        'iehint' => NULL,
      ],
    ],
    'calendar_day' => [
      'variables' => [
        'view' => NULL,
        'options' => [],
        'rows' => [],
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_month' => [
      'variables' => [
        'view' => NULL,
        'options' => [],
        'rows' => [],
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_stripe_legend' => [
      'variables' => [
        'view_and_display_id' => NULL,
        'title' => NULL,
      ],
    ],
    'calendar_item' => [
      'variables' => [
        'view' => NULL,
        'rendered_fields' => NULL,
        'item' => NULL,
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_week' => [
      'variables' => [
        'view' => NULL,
        'day_names' => [],
        'rows' => [],
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_week_overlap' => [
      'variables' => [
        'view' => NULL,
        'day_names' => [],
        'rows' => [],
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_day_overlap' => [
      'variables' => [
        'view' => NULL,
        'options' => [],
        'rows' => [],
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_year' => [
      'variables' => [
        'view' => NULL,
        'rows' => [],
        'options' => [],
        'months' => [],
        'mini' => FALSE,
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_header' => [
      'variables' => [
        'view' => NULL,
        'options' => [],
        'title' => '',
        'empty' => FALSE,
        'granularity' => NULL,
      ],
      'file' => 'calendar.theme.inc',
    ],
    'calendar_time_row_heading' => [
      'variables' => [
        'start_time' => NULL,
        'next_start_time' => NULL,
        'curday_date' => NULL,
      ],
    ],
    'calendar_pager' => [
      'variables' => [
        'parameters' => [],
        'items' => [],
        'exclude' => FALSE,
      ],
    ],
  ];
}