function calendar_plugin_display_attachment::pre_execute in Calendar 6.2
Same name and namespace in other branches
- 7 includes/calendar_plugin_display_attachment.inc \calendar_plugin_display_attachment::pre_execute()
- 7.2 includes/calendar_plugin_display_attachment.inc \calendar_plugin_display_attachment::pre_execute()
File
- includes/
calendar_plugin_display_attachment.inc, line 144
Class
- calendar_plugin_display_attachment
- The plugin that handles calendar attachment displays.
Code
function pre_execute() {
// Make sure parent function is called so things like items per page get set.
parent::pre_execute();
$this->view->date_info->display_granularity = $this
->calendar_type();
$this->view->date_info->calendar_type = $this
->calendar_type();
}