public function CartSessionInterface::getCartIds in Commerce Core 8.2
Gets all cart order ids from the session.
Parameters
string $type: The cart session type.
Return value
int[] A list of cart orders ids.
1 method overrides CartSessionInterface::getCartIds()
- CartSession::getCartIds in modules/
cart/ src/ CartSession.php - Gets all cart order ids from the session.
File
- modules/
cart/ src/ CartSessionInterface.php, line 31
Class
- CartSessionInterface
- Stores cart ids in the anonymous user's session.
Namespace
Drupal\commerce_cartCode
public function getCartIds($type = self::ACTIVE);