LayoutUpdateValidator
Magento\Cms\Model\PageRepository\Validator\LayoutUpdateValidator
What it does
This validator ensures that CMS pages meet all requirements before being saved to the database.
It checks that required fields like 'title' are filled in and validates that any layout XML (both standard and custom) is properly formatted and follows Magento's layout schema.
Developers use this class when implementing CMS page repository operations to maintain data integrity and prevent invalid layout updates from being saved.
Public Methods
- validate()