Log in
Model

Converter

Magento\Sales\Model\Config\Converter

What it does

This class converts Magento 2 sales configuration XML files (like sales.xml) into PHP arrays.

Developers typically don't interact with this class directly - it's used automatically by Magento's configuration system to process sales totals configuration for orders, invoices, and credit memos.

The converted array structure organizes sections, groups, items, and renderers defined in the XML configuration.

Public Methods

  • convert()