public function EmailDeleteForm::getConfirmText in Courier 2.x
Same name and namespace in other branches
- 8 src/Form/EmailDeleteForm.php \Drupal\courier\Form\EmailDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ EmailDeleteForm.php, line 30
Class
- EmailDeleteForm
- Form for deleting an email.
Namespace
Drupal\courier\FormCode
public function getConfirmText() {
return t('Delete');
}