LayoutInterface.php 614 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Element\UiComponent;
  7. use Magento\Framework\View\Element\UiComponentInterface;
  8. /**
  9. * Interface LayoutInterface
  10. */
  11. interface LayoutInterface
  12. {
  13. const SECTIONS_KEY = 'sections';
  14. const AREAS_KEY = 'areas';
  15. const GROUPS_KEY = 'groups';
  16. const ELEMENTS_KEY = 'elements';
  17. const DATA_SOURCE_KEY = 'data_source';
  18. /**
  19. * @param UiComponentInterface $component
  20. * @return array
  21. */
  22. public function build(UiComponentInterface $component);
  23. }