Log in
Model

Converter

Magento\Catalog\Model\ProductTypes\Config\Converter

What it does

This class converts product type configuration XML data into an array format that Magento can use internally.

Developers use this when defining custom product types in product_types.xml files, as it processes the XML structure containing product type definitions, price models, indexers, and custom attributes into a usable PHP array.

Public Methods

  • convert()