You are here

public function CartSessionInterface::deleteCartId in Commerce Core 8.2

Deletes the given cart order id from the session.

Parameters

int $cart_id: The cart order ID.

string $type: The cart session type.

1 method overrides CartSessionInterface::deleteCartId()
CartSession::deleteCartId in modules/cart/src/CartSession.php
Deletes the given cart order id from the session.

File

modules/cart/src/CartSessionInterface.php, line 64

Class

CartSessionInterface
Stores cart ids in the anonymous user's session.

Namespace

Drupal\commerce_cart

Code

public function deleteCartId($cart_id, $type = self::ACTIVE);