Model
LayoutUpdateValidator
Magento\Cms\Model\PageRepository\Validator\LayoutUpdateValidator
What it does
This validator ensures CMS page data is valid before saving to the repository.
It checks that required fields like title are populated and validates any custom layout XML updates against Magento's layout schema.
Developers interact with this indirectly when saving CMS pages through the PageRepository, as it automatically validates the page data.
Public Methods
- validate()