You are here

function sheetnode_plugin_style::option_definition in Sheetnode 7.2

Same name and namespace in other branches
  1. 6 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::option_definition()
  2. 7 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::option_definition()

Set plugin style option definition.

Overrides views_plugin_style::option_definition

1 call to sheetnode_plugin_style::option_definition()
sheetnode_feed_plugin_style::option_definition in views/sheetnode_plugin_style.inc
Set sheetnode feed option definition.
1 method overrides sheetnode_plugin_style::option_definition()
sheetnode_feed_plugin_style::option_definition in views/sheetnode_plugin_style.inc
Set sheetnode feed option definition.

File

views/sheetnode_plugin_style.inc, line 20

Class

sheetnode_plugin_style
Extentions for sheetnode plugin style.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['expansion'] = array(
    'default' => SHEETNODE_EXPANSION_VERTICAL,
  );
  $options['use_template'] = array(
    'default' => FALSE,
  );
  $options['template'] = array(
    'default' => '',
  );
  return $options;
}