You are here

protected function BatchWatermarkForm::resetRedirect in Media watermark 8

Submit callback for reset button.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: An associative array containing the current state of the form.

File

src/Form/BatchWatermarkForm.php, line 207

Class

BatchWatermarkForm
Class BatchWatermarkForm.

Namespace

Drupal\media_watermark\Form

Code

protected function resetRedirect(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect('media_watermark.batch');
}