function rotor_plugin_style_rotor::option_definition in Rotor Banner 7
Same name and namespace in other branches
- 6.2 views/rotor_plugin_style_rotor.inc \rotor_plugin_style_rotor::option_definition()
Set default options
Overrides views_plugin_style::option_definition
File
- views/
rotor_plugin_style_rotor.inc, line 17 - Rotor style plugin.
Class
- rotor_plugin_style_rotor
- Style plugin to render a map.
Code
function option_definition() {
$options = parent::option_definition();
$options['width'] = array(
'default' => '0',
);
$options['height'] = array(
'default' => '0',
);
$options['seconds'] = array(
'default' => '5',
);
$options['speed'] = array(
'default' => '1',
);
$options['effect'] = array(
'default' => 'fade',
);
$options['pause'] = array(
'default' => '0',
);
$options['tabs']['show_tabs'] = array(
'default' => TRUE,
);
$options['tabs']['group_tabs'] = array(
'default' => ROTOR_GROUP_TABS,
);
$options['tabs']['position'] = array(
'default' => ROTOR_TAB_POSITION_TOP,
);
return $options;
}