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