public function RateWidget::setOptions in Rate 8.2
Set the available voting buttons as options for the rate widget.
Overrides RateWidgetInterface::setOptions
File
- src/
Entity/ RateWidget.php, line 135
Class
- RateWidget
- Defines the Rate Widget configuration entity.
Namespace
Drupal\rate\EntityCode
public function setOptions(array $options) {
$this->options = $options;
return $this;
}