public function SubscriptionCancelForm::getCancelText in Commerce Recurring Framework 8
Returns a caption for the link which cancels the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.
Overrides ContentEntityConfirmFormBase::getCancelText
File
- src/
Form/ SubscriptionCancelForm.php, line 46
Class
- SubscriptionCancelForm
- Provides a confirmation form for cancelling a subscription.
Namespace
Drupal\commerce_recurring\FormCode
public function getCancelText() {
return $this
->t('Keep subscription');
}