Log in
Model

SchemaLocator

Magento\Backend\Model\Menu\Config\SchemaLocator

What it does

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

Developers use this class when the system needs to validate menu.xml files during configuration merging, ensuring menu structure follows the correct XML schema defined in the Backend module.

Public Methods

  • getSchema()
  • getPerFileSchema()