You are here

public function AbjsConditionDeleteConfirmForm::getQuestion in A/B Test JS 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/AbjsConditionDeleteConfirmForm.php \Drupal\abjs\Form\AbjsConditionDeleteConfirmForm::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/AbjsConditionDeleteConfirmForm.php, line 55

Class

AbjsConditionDeleteConfirmForm
Class for confirm delete condition.

Namespace

Drupal\abjs\Form

Code

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