You are here

public function RegistrationTypeDeleteForm::getConfirmText in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/Form/RegistrationTypeDeleteForm.php \Drupal\rng\Form\RegistrationTypeDeleteForm::getConfirmText()
  2. 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\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}