public function MigrateUpgradeForm::submitCredentialForm in Migrate Upgrade 8
Submission handler for the credentials form.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
File
- src/
Form/ MigrateUpgradeForm.php, line 998 - Contains \Drupal\migrate_upgrade\Form\MigrateUpgradeForm.
Class
- MigrateUpgradeForm
- Defines a multi-step form for performing direct site upgrades.
Namespace
Drupal\migrate_upgrade\FormCode
public function submitCredentialForm(array &$form, FormStateInterface $form_state) {
// Indicate the next step is confirmation.
$form_state
->setValue('step', 'confirm');
$form_state
->setRebuild();
}