1234567891011121314151617181920212223242526 |
- <?php
- /**
- * Application config file resolver
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Cms\Model\Page;
- /**
- * Class DomValidationState
- * @package Magento\Cms\Model\Page
- */
- class DomValidationState implements \Magento\Framework\Config\ValidationStateInterface
- {
- /**
- * Retrieve validation state
- * Used in cms page post processor to force validate layout update xml
- *
- * @return boolean
- */
- public function isValidationRequired()
- {
- return true;
- }
- }
|