You are here

public function OptionsForm::resetForm in Easychart 8.3

Redirect to reset form.

Parameters

array $form: The form.

FormStateInterface $form_state: The form state.

File

src/Form/OptionsForm.php, line 113
Contains \Drupal\easychart\Form\OptionsForm

Class

OptionsForm

Namespace

Drupal\easychart\Form

Code

public function resetForm(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect('easychart.reset_options_confirm_form');
}