Log in
Model

Validator

Magento\Theme\Model\Design\Config\Validator

What it does

This validator ensures that email templates configured in the design configuration do not contain circular references to themselves.

When a developer saves design configuration settings for email templates, this class checks that the template content doesn't reference the same template's configuration path, preventing infinite loops during email generation.

Public Methods

  • validate()