public function CartStorageSelect::emptyCart in Basic cart 8
Same name and namespace in other branches
- 8.6 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::emptyCart()
- 8.0 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::emptyCart()
- 8.2 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::emptyCart()
- 8.3 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::emptyCart()
- 8.4 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::emptyCart()
- 8.5 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::emptyCart()
File
- src/
CartStorageSelect.php, line 37 - Contains \Drupal\basic_cart\Utility
Class
Namespace
Drupal\basic_cartCode
public function emptyCart() {
return $this->cart
->emptyCart();
}