You are here

protected property AddToCartController::$currentUser in Commerce Add To Cart Link 8

Same name and namespace in other branches
  1. 2.x src/Controller/AddToCartController.php \Drupal\commerce_add_to_cart_link\Controller\AddToCartController::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

Overrides ControllerBase::$currentUser

File

src/Controller/AddToCartController.php, line 74

Class

AddToCartController
Defines the add to cart controller.

Namespace

Drupal\commerce_add_to_cart_link\Controller

Code

protected $currentUser;