You are here

public static function CalendarHelper::displayTypes in Calendar 8

Calendar display types.

1 call to CalendarHelper::displayTypes()
Calendar::buildOptionsForm in src/Plugin/views/style/Calendar.php
Provide a form to edit options for this plugin.

File

src/CalendarHelper.php, line 332

Class

CalendarHelper
Defines Gregorian Calendar date values.

Namespace

Drupal\calendar

Code

public static function displayTypes() {
  return [
    'year' => t('Year'),
    'month' => t('Month'),
    'day' => t('Day'),
    'week' => t('Week'),
  ];
}