You are here

public function OverviewForm::submitForm in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal_ui/src/Form/OverviewForm.php \Drupal\migrate_drupal_ui\Form\OverviewForm::submitForm()
  2. 10 core/modules/migrate_drupal_ui/src/Form/OverviewForm.php \Drupal\migrate_drupal_ui\Form\OverviewForm::submitForm()

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

core/modules/migrate_drupal_ui/src/Form/OverviewForm.php, line 80

Class

OverviewForm
Migrate Upgrade Overview form.

Namespace

Drupal\migrate_drupal_ui\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $this->store
    ->set('step', 'credential');
  $form_state
    ->setRedirect('migrate_drupal_ui.upgrade_credential');
}