You are here

function calendar_is_calendar in Calendar 5

Same name and namespace in other branches
  1. 5.2 calendar.module \calendar_is_calendar()

Function to test whether this is a view that uses the calendar plugin theme.

2 calls to calendar_is_calendar()
calendar_views_post_view in ./calendar.module
Implementation of hook_views_post_view().
calendar_views_pre_view in ./calendar.module
Implementation of hook_views_pre_view()

File

./calendar.module, line 1235
Adds calendar filtering and displays to Views.

Code

function calendar_is_calendar($view) {
  $calendar_info = calendar_info();
  return $calendar_info[$view->name][$view->build_type];
}