Log in
Model

SchemaLocator

Magento\MediaContent\Model\Content\Config\SchemaLocator

What it does

This class locates and provides the path to the XSD schema file used for validating Media Content configuration XML files.

Developers would use this when implementing custom media content configurations or extending the MediaContent module, as it ensures XML configurations are validated against the proper schema rules defined in media_content.xsd.

Public Methods

  • getSchema()
  • getPerFileSchema()