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\PaymentMethodConfigurationCode
public function getConfirmText() {
return $this
->t('Delete');
}