You are here

function views_plugin_style_sgrid::option_definition in Sortable Grid Views Plugin 6

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

Set default options

File

./views_plugin_style_sgrid.inc, line 14

Class

views_plugin_style_sgrid

Code

function option_definition() {
  $options = parent::option_definition();
  $options['type'] = array(
    'default' => 'ul',
  );
  $options['class'] = array(
    'default' => '',
  );
  $options['wrapper_class'] = array(
    'default' => 'item-list',
  );
  $options['row_length'] = array(
    'default' => '4',
  );
  return $options;
}