function views_plugin_style_grid::option_definition in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 plugins/views_plugin_style_grid.inc \views_plugin_style_grid::option_definition()
- 7.3 plugins/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 16 - 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,
);
$options['summary'] = array(
'default' => '',
);
return $options;
}