protected function RateWidgetField::defineOptions in Rate 8.2
Define the available options.
Return value
array Array of options.
Overrides FieldPluginBase::defineOptions
File
- src/
Plugin/ views/ field/ RateWidgetField.php, line 31
Class
- RateWidgetField
- Views field handler for the rate widget.
Namespace
Drupal\rate\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['id_column'] = [
'default' => '',
];
$options['widgets'] = [
'default' => '',
];
$options['widget_display'] = [
'default' => '',
];
$options['display_overrides'] = [
'default' => [],
];
return $options;
}