public function RecurringOrderManagerInterface::collectSubscriptions in Commerce Recurring Framework 8
Collects all subscriptions that belong to an order.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $order: The order.
Return value
\Drupal\commerce_recurring\Entity\SubscriptionInterface[] The subscriptions.
1 method overrides RecurringOrderManagerInterface::collectSubscriptions()
- RecurringOrderManager::collectSubscriptions in src/
RecurringOrderManager.php - Collects all subscriptions that belong to an order.
File
- src/
RecurringOrderManagerInterface.php, line 109
Class
- RecurringOrderManagerInterface
- Manages recurring orders.
Namespace
Drupal\commerce_recurringCode
public function collectSubscriptions(OrderInterface $order);