You are here

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

InvoicePaymentForm

Namespace

Drupal\commerce_invoice\Form

Code

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