You are here

public function EventTypeDeleteForm::getConfirmText in RNG - Events and Registrations 3.x

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

Class

EventTypeDeleteForm
Form controller to delete event configs.

Namespace

Drupal\rng\Form

Code

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