You are here

public function LingotekAccountDisconnectForm::getQuestion in Lingotek Translation 8

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

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/LingotekAccountDisconnectForm.php, line 63
Contains \Drupal\lingotek\Form\LingotekAccountDisconnect.

Class

LingotekAccountDisconnectForm
Provides a form to disconnect from Lingotek.

Namespace

Drupal\lingotek\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to disconnect from Lingotek?');
}