public function PaymentDeleteForm::getConfirmText in Payment 8.2
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/
Entity/ Payment/ PaymentDeleteForm.php, line 62
Class
- PaymentDeleteForm
- Provides the payment deletion form.
Namespace
Drupal\payment\Entity\PaymentCode
public function getConfirmText() {
return $this
->t('Delete');
}