function NegotiationBrowserDeleteForm::getQuestion

Same name in other branches
  1. 9 core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::getQuestion()
  2. 8.9.x core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::getQuestion()
  3. 11.x core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::getQuestion()

Overrides ConfirmFormInterface::getQuestion

File

core/modules/language/src/Form/NegotiationBrowserDeleteForm.php, line 35

Class

NegotiationBrowserDeleteForm
Defines a confirmation form for deleting a browser language negotiation mapping.

Namespace

Drupal\language\Form

Code

public function getQuestion() {
    return $this->t('Are you sure you want to delete %browser_langcode?', [
        '%browser_langcode' => $this->browserLangcode,
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.