function OverviewForm::submitForm

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. 8.9.x core/modules/migrate_drupal_ui/src/Form/OverviewForm.php \Drupal\migrate_drupal_ui\Form\OverviewForm::submitForm()
  3. 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.