function views_plugin_style_grid::option_definition

Set default options.

Overrides views_plugin_style::option_definition

File

plugins/views_plugin_style_grid.inc, line 18

Class

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

Code

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