MapProviderInterface
Magento\Catalog\Model\ProductLink\MapProviderInterface
What it does
This interface defines a contract for providers that retrieve product link relationships in Magento 2.
Developers implement this interface to create custom providers that fetch related products, up-sells, cross-sells, or other product associations.
It's used when you need to programmatically load and work with products that are linked together through various relationship types.
Public Methods
- canProcessLinkType()
- fetchMap()