You are here

public function PaymentMethodConfigurationDeleteForm::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 EntityConfirmFormBase::getConfirmText

File

src/Entity/PaymentMethodConfiguration/PaymentMethodConfigurationDeleteForm.php, line 76

Class

PaymentMethodConfigurationDeleteForm
Provides the payment method configuration deletion form.

Namespace

Drupal\payment\Entity\PaymentMethodConfiguration

Code

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