function IncrementalForm::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/IncrementalForm.php, line 97

Class

IncrementalForm
Migrate Upgrade Incremental 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.