You are here

function hook_fullcalendar_options_pre_view in FullCalendar 7.2

Allow any modules to have access to the view before the query is run.

Parameters

array $settings: An array of settings to be passed to JavaScript.

object $view: The FullCalendar view object.

1 function implements hook_fullcalendar_options_pre_view()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

fullcalendar_fullcalendar_options_pre_view in includes/fullcalendar.fullcalendar.inc
Implements hook_fullcalendar_options_pre_view().
1 invocation of hook_fullcalendar_options_pre_view()
fullcalendar_views_pre_view in includes/views/fullcalendar.views.inc
Implements hook_views_pre_view().

File

./fullcalendar.api.php, line 279
Hooks provided by the FullCalendar module.

Code

function hook_fullcalendar_options_pre_view(&$settings, &$view) {
  $settings['my_setting'] = array(
    'my_other_setting' => $settings['my_other_setting'],
    'my_another_setting' => $settings['my_another_setting'],
  );
}