You are here

public function LingotekSettingsAccountForm::submitForm in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  2. 4.0.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  3. 3.0.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  4. 3.1.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  5. 3.2.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  6. 3.3.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  7. 3.4.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  8. 3.5.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  9. 3.6.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  10. 3.7.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()
  11. 3.8.x src/Form/LingotekSettingsAccountForm.php \Drupal\lingotek\Form\LingotekSettingsAccountForm::submitForm()

*

Overrides ConfigFormBase::submitForm

File

src/Form/LingotekSettingsAccountForm.php, line 58
Contains \Drupal\lingotek\Form\LingotekSettingsAccountForm.

Class

LingotekSettingsAccountForm
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {

  // Everything is saved in the previous step, so redirect to community form.
  $form_state
    ->setRedirect('lingotek.setup_community');
}