Model
ConvertLinksToArray
Magento\DownloadableGraphQl\Model\ConvertLinksToArray
What it does
This model transforms Magento Downloadable product links into a standardized array format suitable for GraphQL responses.
Developers use this class when building GraphQL queries for downloadable products to ensure link data (ID, title, price, sort order, and sample URL) is properly formatted and includes generated download URLs for samples.
Public Methods
- execute()