You are here

function views_plugin_ds_object_view::option_definition in Display Suite 6.2

Same name and namespace in other branches
  1. 6.3 views/views_plugin_ds_object_view.inc \views_plugin_ds_object_view::option_definition()
  2. 6 views/views_plugin_ds_object_view.inc \views_plugin_ds_object_view::option_definition()

File

views/views_plugin_ds_object_view.inc, line 40
Contains the ds views node style plugin.

Class

views_plugin_ds_object_view
Plugin which sets a build mode on the resulting object.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['build_mode'] = array(
    'default' => 'teaser',
  );
  $options['changing'] = array(
    'default' => FALSE,
  );
  $options['advanced'] = array(
    'default' => FALSE,
  );
  return $options;
}