You are here

service commerce_add_to_cart_link.token in Commerce Add To Cart Link 8

Same name and namespace in other branches
  1. 2.x commerce_add_to_cart_link.services.yml \commerce_add_to_cart_link.token

Class

Drupal\commerce_add_to_cart_link\CartLinkToken
7 string references to commerce_add_to_cart_link.token
AddToCartController::create in src/Controller/AddToCartController.php
Instantiates a new instance of this class.
AddToCartLink::metadata in src/AddToCartLink.php
Generate metadata for an add-to-cart link.
AddToCartLink::url in src/AddToCartLink.php
Generate an URL object for an add-to-cart link.
AddToWishlistController::create in modules/wishlist/src/Controller/AddToWishlistController.php
Instantiates a new instance of this class.
AddToWishlistLink::metadata in modules/wishlist/src/AddToWishlistLink.php
Generate metadata for an add-to-cart link.

... See full list

File

./commerce_add_to_cart_link.services.yml
commerce_add_to_cart_link.services.yml

View source
  1. class: Drupal\commerce_add_to_cart_link\CartLinkToken
  2. arguments:
  3. - '@csrf_token'
  4. - '@current_user'
  5. - '@session'
  6. - '@config.factory'