public function SubscriptionTypeInterface::onSubscriptionTrialCancel in Commerce Recurring Framework 8
Acts on a subscription after a trial has been canceled.
Called before the subscription is saved.
Parameters
\Drupal\commerce_recurring\Entity\SubscriptionInterface $subscription: The subscription.
1 method overrides SubscriptionTypeInterface::onSubscriptionTrialCancel()
- SubscriptionTypeBase::onSubscriptionTrialCancel in src/
Plugin/ Commerce/ SubscriptionType/ SubscriptionTypeBase.php - Acts on a subscription after a trial has been canceled.
File
- src/
Plugin/ Commerce/ SubscriptionType/ SubscriptionTypeInterface.php, line 98
Class
- SubscriptionTypeInterface
- Defines the interface for subscription types.
Namespace
Drupal\commerce_recurring\Plugin\Commerce\SubscriptionTypeCode
public function onSubscriptionTrialCancel(SubscriptionInterface $subscription);