You are here

public function LingotekSettingsTabAccountForm::disconnect in Lingotek Translation 8

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

File

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

Class

LingotekSettingsTabAccountForm
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

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

  // Redirect to the confirmation form.
  $form_state
    ->setRedirect('lingotek.account_disconnect');
}