You are here

public function MigrateForm::submitForm in Workbench Moderation to Content Moderation 8

Form submission handler.

Parameters

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

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormInterface::submitForm

File

src/Form/MigrateForm.php, line 119

Class

MigrateForm
A form to trigger batch processing if state is valid.

Namespace

Drupal\wbm2cm\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect('wbm2cm.migrate');
}