You are here

public function AbjsTestDeleteConfirmForm::getQuestion in A/B Test JS 8

Same name and namespace in other branches
  1. 2.0.x src/Form/AbjsTestDeleteConfirmForm.php \Drupal\abjs\Form\AbjsTestDeleteConfirmForm::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/AbjsTestDeleteConfirmForm.php, line 58

Class

AbjsTestDeleteConfirmForm
Class for confirm delete test.

Namespace

Drupal\abjs\Form

Code

public function getQuestion() {
  return $this
    ->t('Do you want to delete test %id?', [
    '%id' => $this->id,
  ]);
}