Log in
Model

SchemaLocator

Magento\ImportExport\Model\Import\Config\SchemaLocator

What it does

This class locates and provides paths to XSD schema files used to validate import configuration XML files in Magento 2.

Developers use this when the system needs to validate import configuration files, either individual files or merged configurations, ensuring they follow the correct XML structure defined in the ImportExport module.

Public Methods

  • getSchema()
  • getPerFileSchema()