You are here

public function PaymentDeleteForm::getConfirmText in Ubercart 8.4

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

payment/uc_payment/src/Form/PaymentDeleteForm.php, line 34

Class

PaymentDeleteForm
Confirmation form to delete a payment from an order.

Namespace

Drupal\uc_payment\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}