You are here

function fullcalendar_views_plugins_alter in FullCalendar 8

Same name and namespace in other branches
  1. 8.3 fullcalendar.views_execution.inc \fullcalendar_views_plugins_alter()
  2. 7.2 includes/views/fullcalendar.views.inc \fullcalendar_views_plugins_alter()

Implements hook_views_plugins_alter().

File

./fullcalendar.views_execution.inc, line 14
Contains Views module runtime hooks.

Code

function fullcalendar_views_plugins_alter(&$plugins) {
  $plugins['display']['fullcalendar'] = [
    'title' => t('FullCalendar - Deprecated, use page display instead!'),
    'help' => t('Stop using this display, use page instead'),
    'no ui' => TRUE,
  ] + $plugins['display']['page'];
}