You are here

public function CartInterface::getContents in Ubercart 8.4

Returns the items in the shopping cart.

Return value

\Drupal\uc_cart\CartItemInterface[] The items.

1 method overrides CartInterface::getContents()
Cart::getContents in uc_cart/src/Cart.php
Returns the items in the shopping cart.

File

uc_cart/src/CartInterface.php, line 38

Class

CartInterface
Represents a shopping cart.

Namespace

Drupal\uc_cart

Code

public function getContents();