Log in
Model

SchemaLocator

Magento\Sales\Model\Config\SchemaLocator

What it does

This class provides the file paths to XSD schema files used for validating Sales module configuration XML files.

Developers typically don't interact with this class directly - it's used internally by Magento's configuration system to ensure sales.xml configuration files follow the correct structure and rules defined in the sales.xsd schema.

Public Methods

  • getSchema()
  • getPerFileSchema()