public function EmptyCartForm::__construct in Ubercart 8.4
Form constructor.
The cart manager.
File
- uc_cart/
src/ Form/ EmptyCartForm.php, line 29
Class
- EmptyCartForm
- Confirm that the customer wants to empty their cart.
Namespace
Drupal\uc_cart\FormCode
public function __construct(CartManagerInterface $cart_manager) {
$this->cartManager = $cart_manager;
}