You are here

public function LingotekInterfaceTranslationClearMetadataForm::getConfirmText in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 4.0.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getConfirmText()
  2. 3.2.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getConfirmText()
  3. 3.3.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getConfirmText()
  4. 3.5.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getConfirmText()
  5. 3.6.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getConfirmText()
  6. 3.7.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getConfirmText()
  7. 3.8.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::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/LingotekInterfaceTranslationClearMetadataForm.php, line 66

Class

LingotekInterfaceTranslationClearMetadataForm
Provides a form to disconnect from Lingotek.

Namespace

Drupal\lingotek\Form

Code

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