Log in
Model

Converter

Magento\Catalog\Model\Product\Link\Converter

What it does

This class converts product link data into a grouped array format, particularly useful when working with associated products like grouped products.

Developers use this when they need to transform product link objects into a structured array indexed by link type, making it easier to process and display product relationships in the frontend or API responses.

Public Methods

  • convertLinksToGroupedArray()