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