You are here

public function LingotekInterfaceTranslationClearMetadataForm::getQuestion 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::getQuestion()
  2. 3.2.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getQuestion()
  3. 3.3.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getQuestion()
  4. 3.5.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getQuestion()
  5. 3.6.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getQuestion()
  6. 3.7.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getQuestion()
  7. 3.8.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::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/LingotekInterfaceTranslationClearMetadataForm.php, line 52

Class

LingotekInterfaceTranslationClearMetadataForm
Provides a form to disconnect from Lingotek.

Namespace

Drupal\lingotek\Form

Code

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