You are here

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

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

Class

AbjsExperienceDeleteConfirmForm
Class for confirm delete experience.

Namespace

Drupal\abjs\Form

Code

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