You are here

function views_tree_plugin_style_tree::option_definition in Views tree 7.2

Same name and namespace in other branches
  1. 6.2 views_tree_plugin_style_tree.inc \views_tree_plugin_style_tree::option_definition()
  2. 6 views_tree_plugin_style_tree.inc \views_tree_plugin_style_tree::option_definition()

Set default options

Overrides views_plugin_style_list::option_definition

File

./views_tree_plugin_style_tree.inc, line 18
Contains the list style plugin.

Class

views_tree_plugin_style_tree
Style plugin to render each item in a slideshow of an ordered or unordered list.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['class'] = array(
    'default' => '',
  );
  $options['wrapper_class'] = array(
    'default' => 'item-list',
  );
  $options['main_field'] = array(
    'default' => '',
  );
  $options['parent_field'] = array(
    'default' => '',
  );
  $options['collapsible_tree'] = array(
    'default' => 0,
  );
  return $options;
}