You are here

public function RuleDeleteForm::getQuestion in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Form/RuleDeleteForm.php \Drupal\rng\Form\RuleDeleteForm::getQuestion()
  2. 3.x src/Form/RuleDeleteForm.php \Drupal\rng\Form\RuleDeleteForm::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/RuleDeleteForm.php, line 16

Class

RuleDeleteForm
Form for deleting a rng rule.

Namespace

Drupal\rng\Form

Code

public function getQuestion() {
  return t('Are you sure you want to delete this rule?');
}