Log in
Model

Converter

Magento\Catalog\Model\ProductOptions\Config\Converter

What it does

This converter class transforms XML configuration for product options into a PHP array structure.

Developers use this when defining custom product option types in product_options.xml files, as it processes the XML definitions and makes them available to Magento's product option system with their labels, renderers, and input types.

Public Methods

  • convert()