You are here

public function SubscriptionTypeBase::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.

Overrides SubscriptionTypeInterface::onSubscriptionCancel

File

src/Plugin/Commerce/SubscriptionType/SubscriptionTypeBase.php, line 241

Class

SubscriptionTypeBase
Defines the subscription base class.

Namespace

Drupal\commerce_recurring\Plugin\Commerce\SubscriptionType

Code

public function onSubscriptionCancel(SubscriptionInterface $subscription) {
}