You are here

public function PaymentCaptureForm::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/PaymentCaptureForm.php, line 36

Class

PaymentCaptureForm
Provides the payment capture form.

Namespace

Drupal\payment\Entity\Payment

Code

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