public function CartInterface::getCart in Basic cart 8
Same name and namespace in other branches
- 8.6 src/CartInterface.php \Drupal\basic_cart\CartInterface::getCart()
- 8.0 src/CartInterface.php \Drupal\basic_cart\CartInterface::getCart()
- 8.2 src/CartInterface.php \Drupal\basic_cart\CartInterface::getCart()
- 8.3 src/CartInterface.php \Drupal\basic_cart\CartInterface::getCart()
- 8.4 src/CartInterface.php \Drupal\basic_cart\CartInterface::getCart()
- 8.5 src/CartInterface.php \Drupal\basic_cart\CartInterface::getCart()
2 methods override CartInterface::getCart()
- CartSession::getCart in src/
CartSession.php - * Function for shopping cart retrieval. * *
- CartTable::getCart in src/
CartTable.php - * Function for shopping cart retrieval. * *
File
- src/
CartInterface.php, line 15 - Contains \Drupal\basic_cart\CartInterface.
Class
- CartInterface
- Cart interface definition for basic_cart plugins.
Namespace
Drupal\basic_cartCode
public function getCart($nid = NULL);