You are here

function calendar_display_types in Calendar 7

Same name and namespace in other branches
  1. 6.2 calendar.module \calendar_display_types()
  2. 7.3 calendar.module \calendar_display_types()
  3. 7.2 calendar.module \calendar_display_types()

Calendar display types

6 calls to calendar_display_types()
calendar_plugin_display_attachment::calendar_type in includes/calendar_plugin_display_attachment.inc
Identify the period of this display.
calendar_plugin_display_attachment::display_types in includes/calendar_plugin_display_attachment.inc
Create an array of possible display periods.
calendar_plugin_display_attachment::options_form in includes/calendar_plugin_display_attachment.inc
Provide the default form for setting options.
calendar_plugin_display_attachment::options_summary in includes/calendar_plugin_display_attachment.inc
Provide the summary for attachment options in the views UI.
calendar_plugin_style::display_types in includes/calendar_plugin_style.inc

... See full list

File

./calendar.module, line 164
Adds calendar filtering and displays to Views.

Code

function calendar_display_types() {
  return array(
    'year' => t('Year'),
    'month' => t('Month'),
    'day' => t('Day'),
    'week' => t('Week'),
  );
}