Log in
Model

Wishlist

Magento\Wishlist\Model\ResourceModel\Wishlist

What it does

This resource model manages database operations for customer wishlists in Magento 2.

Developers use this class to save, load, and retrieve wishlist data from the database, including handling customer-specific wishlist queries.

It provides customizable customer ID field naming and ensures wishlist data changes are properly tracked when saving.

Public Methods

  • getCustomerIdFieldName()
  • setCustomerIdFieldName()
  • save()