public function SubscriptionInterface::hasPurchasedEntity in Commerce Recurring Framework 8
Gets whether the subscription has a purchased entity.
Return value
bool TRUE if the subscription has a purchased entity, FALSE otherwise.
1 method overrides SubscriptionInterface::hasPurchasedEntity()
- Subscription::hasPurchasedEntity in src/
Entity/ Subscription.php - Gets whether the subscription has a purchased entity.
File
- src/
Entity/ SubscriptionInterface.php, line 138
Class
- SubscriptionInterface
- Defines the interface for subscriptions.
Namespace
Drupal\commerce_recurring\EntityCode
public function hasPurchasedEntity();