public function RegistrationTypeDeleteForm::getConfirmText in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/Form/RegistrationTypeDeleteForm.php \Drupal\rng\Form\RegistrationTypeDeleteForm::getConfirmText()
- 3.x src/Form/RegistrationTypeDeleteForm.php \Drupal\rng\Form\RegistrationTypeDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ RegistrationTypeDeleteForm.php, line 26
Class
- RegistrationTypeDeleteForm
- Form controller for registration types.
Namespace
Drupal\rng\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}