You are here

basic_cart.inc in Basic cart 8

File

basic_cart.inc
View source
<?php

use Drupal\basic_cart\Utility;
function basic_cart_get_cart() {
  $cart = Utility::getCart();
  return $cart;
}
function basic_cart_empty_cart() {
  $cart = Utility::emptyCart();
  return $cart;
}