You are here

public function OrderReceiptResendForm::getConfirmText in Commerce Core 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

modules/order/src/Form/OrderReceiptResendForm.php, line 67

Class

OrderReceiptResendForm
Provides a confirmation form for resending order receipts.

Namespace

Drupal\commerce_order\Form

Code

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