public function NewsletterDeleteForm::getConfirmText in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Form/NewsletterDeleteForm.php \Drupal\simplenews\Form\NewsletterDeleteForm::getConfirmText()
- 3.x src/Form/NewsletterDeleteForm.php \Drupal\simplenews\Form\NewsletterDeleteForm::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/ NewsletterDeleteForm.php, line 31
Class
- NewsletterDeleteForm
- Builds the form to delete a contact category.
Namespace
Drupal\simplenews\FormCode
public function getConfirmText() {
return t('Delete');
}