public function PaymentRefundForm::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/ PaymentRefundForm.php, line 36
Class
- PaymentRefundForm
- Provides the payment refund form.
Namespace
Drupal\payment\Entity\PaymentCode
public function getConfirmText() {
return $this
->t('Refund');
}