You are here

function views_plugin_style_sgrid::option_definition in Sortable Grid Views Plugin 7

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

Set default options

Overrides views_plugin_style_list::option_definition

File

./views_plugin_style_sgrid.inc, line 10
Views style plugin for Sortable grid module

Class

views_plugin_style_sgrid
@file Views style plugin for Sortable grid module

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;
}