You are here

public function references_plugin_display::option_definition in References 7.2

Option Definition.

@codingStandardsIgnoreStart

Overrides views_plugin_display::option_definition

File

views/references_plugin_display.inc, line 21
Handler for references_plugin_display.

Class

references_plugin_display
Default class.

Code

public function option_definition() {

  // @codingStandardsIgnoreEnd
  $options = parent::option_definition();

  // Force the style plugin to 'references_style' and the row plugin to
  // 'fields'.
  $options['style_plugin']['default'] = 'references_style';
  $options['defaults']['default']['style_plugin'] = FALSE;
  $options['defaults']['default']['style_options'] = FALSE;
  $options['row_plugin']['default'] = 'references_fields';
  $options['defaults']['default']['row_plugin'] = FALSE;
  $options['defaults']['default']['row_options'] = FALSE;

  // Set the display title to an empty string (not used in this display type).
  $options['title']['default'] = '';
  $options['defaults']['default']['title'] = FALSE;
  return $options;
}