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