You are here

fullcalendar.views.inc in FullCalendar 8.3

Contains Views module hooks.

File

fullcalendar.views.inc
View source
<?php

/**
 * @file
 * Contains Views module hooks.
 */

/**
 * Implements hook_views_data().
 */
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;
}

Functions

Namesort descending Description
fullcalendar_views_data Implements hook_views_data().