You are here

commerce_wishlist.services.yml in Commerce Wishlist 8.3

File

commerce_wishlist.services.yml
View source
  1. services:
  2. cache_context.wishlist:
  3. class: Drupal\commerce_wishlist\Cache\Context\WishlistCacheContext
  4. arguments: ['@current_user', '@commerce_wishlist.wishlist_provider']
  5. tags:
  6. - { name: cache.context }
  7. commerce_wishlist.wishlist_assignment:
  8. class: Drupal\commerce_wishlist\WishlistAssignment
  9. arguments: ['@entity_type.manager', '@event_dispatcher', '@config.factory', '@commerce_wishlist.wishlist_manager']
  10. commerce_wishlist.wishlist_session:
  11. class: Drupal\commerce_wishlist\WishlistSession
  12. arguments: ['@session']
  13. commerce_wishlist.wishlist_provider:
  14. class: Drupal\commerce_wishlist\WishlistProvider
  15. arguments: ['@entity_type.manager', '@current_user', '@commerce_wishlist.wishlist_session', '@config.factory']
  16. commerce_wishlist.wishlist_manager:
  17. class: Drupal\commerce_wishlist\WishlistManager
  18. arguments: ['@entity_type.manager', '@event_dispatcher']
  19. commerce_wishlist.wishlist_subscriber:
  20. class: Drupal\commerce_wishlist\EventSubscriber\WishlistEventSubscriber
  21. arguments: ['@messenger', '@string_translation']
  22. tags:
  23. - { name: event_subscriber }
  24. commerce_wishlist.wishlist_share_mail:
  25. class: Drupal\commerce_wishlist\Mail\WishlistShareMail
  26. arguments: ['@config.factory', '@commerce.mail_handler']
  27. access_check.entity.commerce_wishlist_item.details_form:
  28. class: Drupal\commerce_wishlist\Access\WishlistItemDetailsAccessCheck
  29. arguments: ['@commerce_wishlist.wishlist_session', '@current_route_match']
  30. tags:
  31. - { name: access_check, applies_to: _wishlist_item_details_access_check }