Log in
Model

DomValidationState

Magento\Cms\Model\Page\DomValidationState

What it does

This class enforces DOM/XML validation for CMS page layout updates.

It implements the ValidationStateInterface to always require validation when processing CMS page content, ensuring that any custom layout XML added to CMS pages is properly validated before being applied.

Public Methods

  • isValidationRequired()