public function InvoicePaymentForm::getConfirmText in Commerce Invoice 8.2
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ InvoicePaymentForm.php, line 38
Class
Namespace
Drupal\commerce_invoice\FormCode
public function getConfirmText() {
return $this
->t('Pay');
}