function views_plugin_style_grid::option_definition

3.x views_plugin_style_grid.inc views_plugin_style_grid::option_definition()
2.x views_plugin_style_grid.inc views_plugin_style_grid::option_definition()

Set default options

Overrides views_plugin_style::option_definition

File

plugins/views_plugin_style_grid.inc, line 17
Contains the grid style plugin.

Class

views_plugin_style_grid
Style plugin to render each item in a grid cell.

Code

function option_definition() {
  $options = parent::option_definition();

  $options['columns'] = array('default' => '4');
  $options['alignment'] = array('default' => 'horizontal');
  $options['fill_single_line'] = array('default' => TRUE, 'bool' => TRUE);
  $options['summary'] = array('default' => '');
  $options['caption'] = array('default' => '');

  return $options;
}