You are here

public function PaymentStatusDeleteForm::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/PaymentStatus/PaymentStatusDeleteForm.php, line 61

Class

PaymentStatusDeleteForm
Provides the payments status deletion form.

Namespace

Drupal\payment\Entity\PaymentStatus

Code

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