public function RateWidgetForm::addmoreCallback in Rate 8.2
Callback for both ajax-enabled buttons.
Selects and returns the fieldset with the names in it.
File
- src/
RateWidgetForm.php, line 629
Class
- RateWidgetForm
- Form controller for vote type forms.
Namespace
Drupal\rateCode
public function addmoreCallback(array &$form, FormStateInterface $form_state) {
return $form['options'];
}