public function views_accordion_style_plugin::init in Views Accordion 7
Initialize a style plugin.
Parameters
view $view:
object $display:
array $options: The style options might come externally as the style can be sourced from at least two locations. If it's not included, look on the display.
Overrides views_plugin_style::init
File
- ./
views_accordion_style_plugin.inc, line 24 - Provide an accordion style plugin for Views. This file is autoloaded by views.
Class
- views_accordion_style_plugin
- Implements views_plugin_style().
Code
public function init(&$view, &$display, $options = NULL) {
parent::init($view, $display, $options);
$this->newoptions = FALSE;
if (module_exists('jquery_update')) {
$this->newoptions = version_compare(variable_get('jquery_update_jquery_version', '1.10'), '1.9', '>=');
}
}