ElementInterface.php 630 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Ui\Component\Form\Element;
  7. use Magento\Framework\View\Element\UiComponentInterface;
  8. /**
  9. * Interface ElementInterface
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ElementInterface extends UiComponentInterface
  14. {
  15. /**
  16. * @return string
  17. */
  18. public function getHtmlId();
  19. /**
  20. * @return string
  21. */
  22. public function getFormInputName();
  23. /**
  24. * @return bool
  25. */
  26. public function isReadonly();
  27. /**
  28. * @return string
  29. */
  30. public function getCssClasses();
  31. }