You are here

public function LingotekAccountDisconnectForm::getConfirmText in Lingotek Translation 8

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

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

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

Class

LingotekAccountDisconnectForm
Provides a form to disconnect from Lingotek.

Namespace

Drupal\lingotek\Form

Code

public function getConfirmText() {
  return $this
    ->t('Disconnect');
}