DomValidationState.php 571 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Application config file resolver
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Cms\Model\Page;
  9. /**
  10. * Class DomValidationState
  11. * @package Magento\Cms\Model\Page
  12. */
  13. class DomValidationState implements \Magento\Framework\Config\ValidationStateInterface
  14. {
  15. /**
  16. * Retrieve validation state
  17. * Used in cms page post processor to force validate layout update xml
  18. *
  19. * @return boolean
  20. */
  21. public function isValidationRequired()
  22. {
  23. return true;
  24. }
  25. }