You are here

function views_showcase_style_plugin::option_definition in Views Showcase 6

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

File

./views_showcase_style_plugin.inc, line 12
Provide the views showcase plugin object with default options and form.

Class

views_showcase_style_plugin
Implementation of views_plugin_style().

Code

function option_definition() {
  $options = parent::option_definition();
  unset($options['grouping']);
  $options['cycle'] = array(
    'default' => 'scrollRight',
  );
  $options['timeout'] = array(
    'default' => '4000',
  );
  $options['sync'] = array(
    'default' => 'true',
  );
  $options['pause'] = array(
    'default' => 'false',
  );
  $options['listpause'] = array(
    'default' => 'false',
  );
  $options['easing'] = array(
    'default' => 'easeOutBounce',
  );
  $options['skin'] = array(
    'default' => 'right',
  );
  return $options;
}