You are here

public function CartInterface::removeFromCart in Basic cart 8

Same name and namespace in other branches
  1. 8.6 src/CartInterface.php \Drupal\basic_cart\CartInterface::removeFromCart()
  2. 8.0 src/CartInterface.php \Drupal\basic_cart\CartInterface::removeFromCart()
  3. 8.2 src/CartInterface.php \Drupal\basic_cart\CartInterface::removeFromCart()
  4. 8.3 src/CartInterface.php \Drupal\basic_cart\CartInterface::removeFromCart()
  5. 8.4 src/CartInterface.php \Drupal\basic_cart\CartInterface::removeFromCart()
  6. 8.5 src/CartInterface.php \Drupal\basic_cart\CartInterface::removeFromCart()
2 methods override CartInterface::removeFromCart()
CartSession::removeFromCart in src/CartSession.php
* Callback function for cart/remove/. * *
CartTable::removeFromCart in src/CartTable.php
* Callback function for cart/remove/. * *

File

src/CartInterface.php, line 16
Contains \Drupal\basic_cart\CartInterface.

Class

CartInterface
Cart interface definition for basic_cart plugins.

Namespace

Drupal\basic_cart

Code

public function removeFromCart($nid);