public function Cart::getId in Ubercart 8.4
Returns the unique ID for the cart.
Return value
string The cart ID.
Overrides CartInterface::getId
File
- uc_cart/
src/ Cart.php, line 40
Class
- Cart
- Utility class providing methods for the management of shopping carts.
Namespace
Drupal\uc_cartCode
public function getId() {
return $this->id;
}