public function RateWidgetInterface::setOptions in Rate 8.2
Set the available voting buttons as options for the rate widget.
1 method overrides RateWidgetInterface::setOptions()
- RateWidget::setOptions in src/
Entity/ RateWidget.php - Set the available voting buttons as options for the rate widget.
File
- src/
RateWidgetInterface.php, line 34
Class
- RateWidgetInterface
- Provides an interface defining a Rate widget entity.
Namespace
Drupal\rateCode
public function setOptions(array $options);