protected property AddToCartForm::$currentUser in Commerce Core 8.2
The current user.
Type: \Drupal\Core\Session\AccountInterface
File
- modules/
cart/ src/ Form/ AddToCartForm.php, line 68
Class
- AddToCartForm
- Provides the order item add to cart form.
Namespace
Drupal\commerce_cart\FormCode
protected $currentUser;