1 views_plugin_style_grid.inc | views_plugin_style_grid::option_definition() |
Set default options
Overrides views_plugin_style::option_definition
File
- core/
modules/ views/ 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, 'bool' => TRUE);
$options['summary'] = array('default' => '');
$options['caption'] = array('default' => '');
$options['deprecated_table'] = array('default' => FALSE, 'bool' => TRUE);
return $options;
}