You are here

public function CartStorageSelect::getCart in Basic cart 8

Same name and namespace in other branches
  1. 8.6 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::getCart()
  2. 8.0 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::getCart()
  3. 8.2 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::getCart()
  4. 8.3 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::getCart()
  5. 8.4 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::getCart()
  6. 8.5 src/CartStorageSelect.php \Drupal\basic_cart\CartStorageSelect::getCart()

File

src/CartStorageSelect.php, line 30
Contains \Drupal\basic_cart\Utility

Class

CartStorageSelect

Namespace

Drupal\basic_cart

Code

public function getCart($nid = NULL) {
  return $this->cart
    ->getCart($nid);
}