You are here

function views_bootstrap_gallery_plugin_style_bootstrap_gallery::option_definition in Bootstrap - Photo Gallery 7.3

Set default options

Overrides views_plugin_style_grid::option_definition

File

./views_bootstrap_gallery_plugin_style_bootstrap_gallery.inc, line 17
Contains the Bootstrap Gallery style plugin.

Class

views_bootstrap_gallery_plugin_style_bootstrap_gallery
Style plugin to render each item in an ordered or unordered list.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['image_field'] = array(
    'default' => '',
  );
  $options['image_title'] = array(
    'default' => 'default',
  );
  $options['controls'] = array(
    'default' => false,
  );
  $options['borderless'] = array(
    'default' => false,
  );
  return $options;
}