You are here

function views_fluidgrid_style_plugin::option_definition in Views Fluid Grid - jQuery Masonry 7

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

Set default options

Overrides views_plugin_style::option_definition

File

includes/views_fluidgrid_style_plugin.inc, line 11

Class

views_fluidgrid_style_plugin
Implementation of views_plugin_style().

Code

function option_definition() {
  $options = parent::option_definition();
  $options += array(
    'column_width' => array(
      'default' => '',
    ),
    'gutter_width' => array(
      'default' => '',
    ),
    'resizable' => array(
      'default' => TRUE,
    ),
    'rtl' => array(
      'default' => FALSE,
    ),
    'fit_width' => array(
      'default' => FALSE,
    ),
    'animate' => array(
      'default' => FALSE,
    ),
    'animation_options' => array(
      'use_css' => array(
        'default' => FALSE,
      ),
      'queue' => array(
        'default' => FALSE,
      ),
      'duration' => array(
        'default' => 500,
      ),
    ),
    'reload_on_window_load' => array(
      'default' => FALSE,
    ),
  );
  return $options;
}