public function entityreference_view_widget_plugin_display::option_definition in Entity Reference View Widget 7.2
Same name and namespace in other branches
- 7 views/entityreference_view_widget_plugin_display.inc \entityreference_view_widget_plugin_display::option_definition()
Option definition.
Overrides views_plugin_display::option_definition
File
- views/
entityreference_view_widget_plugin_display.inc, line 20 - File: entityreference_view_widget_plugin_display.inc.
Class
- entityreference_view_widget_plugin_display
- Plugin display.
Code
public function option_definition() {
// @codingStandardsIgnoreEnd
$options = parent::option_definition();
$options['style_plugin']['default'] = 'table';
$options['use_ajax']['default'] = TRUE;
$options['defaults']['default']['use_ajax'] = FALSE;
$options['defaults']['default']['style_plugin'] = FALSE;
$options['defaults']['default']['style_options'] = FALSE;
$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;
$options['hide_left'] = array(
'default' => FALSE,
);
return $options;
}