You are here

public function OptionsFormHelperTrait::getCalendarProperties in FullCalendar 8.4

Same name and namespace in other branches
  1. 8.5 src/Plugin/fullcalendar/type/OptionsFormHelperTrait.php \Drupal\fullcalendar\Plugin\fullcalendar\type\OptionsFormHelperTrait::getCalendarProperties()
  2. 8.2 src/Plugin/fullcalendar/type/OptionsFormHelperTrait.php \Drupal\fullcalendar\Plugin\fullcalendar\type\OptionsFormHelperTrait::getCalendarProperties()

Get supported FC properties.

Return value

array Associative array of array of properties keyed by the data type.

1 call to OptionsFormHelperTrait::getCalendarProperties()
FullCalendar::preView in src/Plugin/fullcalendar/type/FullCalendar.php

File

src/Plugin/fullcalendar/type/OptionsFormHelperTrait.php, line 315

Class

OptionsFormHelperTrait

Namespace

Drupal\fullcalendar\Plugin\fullcalendar\type

Code

public function getCalendarProperties() {
  return [
    'scalar' => [
      'googleCalendarApiKey',
      'defaultView',
      'timeZone',
      'locale',
      'themeSystem',
      'firstDay',
      'weekends',
      'editable',
      'eventLimit',
      'businessHours',
      'weekNumbers',
      'weekNumbersWithinDays',
      'weekNumberCalculation',
      'weekLabel',
      'columnHeader',
      'defaultDate',
      'navLinks',
      'navLinkDayClick',
      'navLinkWeekClick',
      'scrollTime',
      'aspectRatio',
      'nowIndicator',
      'now',
      'slotDuration',
      'minTime',
      'maxTime',
      'titleRangeSeparator',
      'eventOverlap',
      'eventColor',
    ],
    'array' => [
      'hiddenDays',
    ],
    'object' => [
      'plugins',
      'validRange',
      'slotLabelFormat',
      'slotLabelInterval',
      'header',
      'footer',
      'buttonText',
    ],
  ];
}