function calendar_plugin_style::init in Calendar 7
Same name and namespace in other branches
- 6.2 includes/calendar_plugin_style.inc \calendar_plugin_style::init()
- 7.3 includes/calendar_plugin_style.inc \calendar_plugin_style::init()
- 7.2 includes/calendar_plugin_style.inc \calendar_plugin_style::init()
Init will be called after construct, when the plugin is attached to a view and a display.
Overrides views_plugin_style::init
1 call to calendar_plugin_style::init()
- calendar_view_plugin_style::init in includes/
calendar_view_plugin_style.inc - Init will be called after construct, when the plugin is attached to a view and a display.
1 method overrides calendar_plugin_style::init()
- calendar_view_plugin_style::init in includes/
calendar_view_plugin_style.inc - Init will be called after construct, when the plugin is attached to a view and a display.
File
- includes/
calendar_plugin_style.inc, line 18 - Views navigation style plugin for the Calendar module.
Class
- calendar_plugin_style
- Style plugin to create the calendar navigation and links.
Code
function init(&$view, &$display, $options = NULL) {
parent::init($view, $display, $options);
if (!isset($view->date_info)) {
$view->date_info = new StdClass();
}
$view->date_info->display_types = $this
->display_types();
}