public function Subscription::getOrders in Commerce Recurring Framework 8
Gets the recurring orders.
Return value
\Drupal\commerce_order\Entity\OrderInterface[] The recurring orders.
Overrides SubscriptionInterface::getOrders
File
- src/
Entity/ Subscription.php, line 348
Class
- Subscription
- Defines the subscription entity.
Namespace
Drupal\commerce_recurring\EntityCode
public function getOrders() {
return $this
->get('orders')
->referencedEntities();
}