function views_simpleads_plugin::option_definition in SimpleAds 7
Same name and namespace in other branches
- 7.2 includes/views/views_simpleads_plugin.inc \views_simpleads_plugin::option_definition()
Set default options
Overrides views_plugin_style::option_definition
File
- includes/
views_simpleads_plugin.inc, line 18 - Contains the list style plugin.
Class
- views_simpleads_plugin
- Style plugin to render SimpleAds.
Code
function option_definition() {
$options = parent::option_definition();
$options['ads_rotation_type'] = array(
'default' => 0,
);
$options['ads_rotation_delay'] = array(
'default' => 5,
);
$options['ads_width'] = array(
'default' => '',
);
$options['ads_height'] = array(
'default' => '',
);
return $options;
}