function fullcalendar_views_ajax_data_alter in FullCalendar 8.5
Same name and namespace in other branches
- 8 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
- 8.2 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
- 8.3 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
- 8.4 fullcalendar.views_execution.inc \fullcalendar_views_ajax_data_alter()
- 7.2 includes/views/fullcalendar.views.inc \fullcalendar_views_ajax_data_alter()
Implements hook_views_ajax_data_alter().
File
- ./
fullcalendar.views_execution.inc, line 202 - Contains Views module runtime hooks.
Code
function fullcalendar_views_ajax_data_alter(&$commands, &$view) {
$style = $view->display_handler
->getOption('style');
if ($style['type'] != 'fullcalendar') {
$commands = [];
}
}