Log in
Model

Config

Magento\Wishlist\Model\Config

What it does

This configuration class manages wishlist-related settings in Magento 2.

Developers use it to retrieve product attributes needed for wishlist items, get the email sharing limit (default 10), and text length limit (default 255 characters) for wishlist sharing functionality.

It centralizes wishlist configuration values that can be customized through the admin panel.

Public Methods

  • getProductAttributes()
  • getSharingEmailLimit()
  • getSharingTextLimit()