Interface
ValidatorInterface
Magento\Cms\Model\PageRepository\ValidatorInterface
What it does
This interface defines a contract for validating CMS pages before they are saved to the repository.
Developers implement this interface to create custom validation rules for CMS pages, such as checking required fields, validating identifiers, or enforcing business rules.
The validate method throws a LocalizedException if validation fails.
Public Methods
- validate()