You are here

function fullcalendar_views_data in FullCalendar 8.3

Same name and namespace in other branches
  1. 8 fullcalendar.views.inc \fullcalendar_views_data()
  2. 6.2 includes/views/fullcalendar.views.inc \fullcalendar_views_data()
  3. 7.2 includes/views/fullcalendar.views.inc \fullcalendar_views_data()

Implements hook_views_data().

File

./fullcalendar.views.inc, line 11
Contains Views module hooks.

Code

function fullcalendar_views_data() {
  $data = [];
  $data['fullcalendar'] = [
    'table' => [
      'group' => t('FullCalendar'),
      'join' => [
        '#global' => [],
      ],
    ],
    'gcal' => [
      'title' => t('Google Calendar'),
      'help' => t('Display events from a Google Calendar.'),
      'field' => [
        'id' => 'fullcalendar_gcal',
      ],
    ],
  ];
  return $data;
}