LayoutProcessorInterface.php 527 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Checkout\Block\Checkout;
  7. /**
  8. * Layout processor interface.
  9. *
  10. * Can be used to provide a custom logic for checkout JS layout preparation.
  11. *
  12. * @see \Magento\Checkout\Block\Onepage
  13. *
  14. * @api
  15. * @since 100.0.2
  16. */
  17. interface LayoutProcessorInterface
  18. {
  19. /**
  20. * Process js Layout of block
  21. *
  22. * @param array $jsLayout
  23. * @return array
  24. */
  25. public function process($jsLayout);
  26. }