You are here

function fullcalendar_views_ajax_data_alter in FullCalendar 7.2

Same name and namespace in other branches
  1. 8.5 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
  2. 8 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
  3. 8.2 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
  4. 8.3 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
  5. 8.4 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()

Implements hook_views_ajax_data_alter().

File

includes/views/fullcalendar.views.inc, line 165
Contains Views module hooks.

Code

function fullcalendar_views_ajax_data_alter(&$commands, &$view) {
  if ($view->display_handler
    ->get_option('style_plugin') == 'fullcalendar') {
    $commands = array();
  }
}