You are here

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

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

Class

RegistrantDeleteForm
Form for deleting a registrant.

Namespace

Drupal\rng\Form\Entity

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete this registrant?');
}