You are here

public function RegistrantTypeDeleteForm::getQuestion in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/Entity/RegistrantTypeDeleteForm.php \Drupal\rng\Form\Entity\RegistrantTypeDeleteForm::getQuestion()
  2. 8 src/Form/Entity/RegistrantTypeDeleteForm.php \Drupal\rng\Form\Entity\RegistrantTypeDeleteForm::getQuestion()

Overrides EntityDeleteFormTrait::getQuestion

1 call to RegistrantTypeDeleteForm::getQuestion()
RegistrantTypeDeleteForm::buildForm in src/Form/Entity/RegistrantTypeDeleteForm.php
Form constructor.

File

src/Form/Entity/RegistrantTypeDeleteForm.php, line 17

Class

RegistrantTypeDeleteForm
Form controller to delete a registrant type.

Namespace

Drupal\rng\Form\Entity

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete registrant type %label?', [
    '%label' => $this->entity
      ->label(),
  ]);
}