MetadataProviderInterface.php 674 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Theme\Model\Design\Config;
  7. /**
  8. * Interface \Magento\Theme\Model\Design\Config\MetadataProviderInterface
  9. *
  10. */
  11. interface MetadataProviderInterface
  12. {
  13. /**
  14. * Return design config field metadata as an array
  15. * Each array item consists metadata for one field. The key is a field name in UI XML configuration
  16. * The value is an array with metadata:
  17. * - 'path' path in core_config_data
  18. * - 'backend_model' field backend model
  19. * - other optional parameters
  20. *
  21. * @return array
  22. */
  23. public function get();
  24. }