public function SubscriptionInterface::hasOrder in Commerce Recurring Framework 8
Checks whether the order has a given recurring order.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $order: The recurring order.
Return value
bool TRUE if the recurring order was found, FALSE otherwise.
1 method overrides SubscriptionInterface::hasOrder()
- Subscription::hasOrder in src/
Entity/ Subscription.php - Checks whether the order has a given recurring order.
File
- src/
Entity/ SubscriptionInterface.php, line 330
Class
- SubscriptionInterface
- Defines the interface for subscriptions.
Namespace
Drupal\commerce_recurring\EntityCode
public function hasOrder(OrderInterface $order);