function tagadelic_plugin_style::option_definition in Views Tagadelic 7.2
Same name and namespace in other branches
- 7 includes/tagadelic_plugin_style.inc \tagadelic_plugin_style::option_definition()
Set default options
Overrides views_plugin_style_list::option_definition
File
- includes/
tagadelic_plugin_style.inc, line 43 - Contains the tagadelic style plugin.
Class
- tagadelic_plugin_style
- Style plugin to render a weighted set of taxonomy terms.
Code
function option_definition() {
$options = parent::option_definition();
$options['display_field'] = NULL;
$options['count_field'] = NULL;
// uses tagadelic ul.tag-cloud CSS class
$options['class'] = array(
'default' => 'tag-cloud',
);
return $options;
}