You are here

public function OrderInterface::hasItems in Commerce Core 8.2

Gets whether the order has order items.

Return value

bool TRUE if the order has order items, FALSE otherwise.

1 method overrides OrderInterface::hasItems()
Order::hasItems in modules/order/src/Entity/Order.php
Gets whether the order has order items.

File

modules/order/src/Entity/OrderInterface.php, line 186

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function hasItems();