AttributeDefaultValueInterface.php 690 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Eav\Api\Data;
  8. /**
  9. * Interface AttributeDefaultValueInterface
  10. * Allows to manage attribute default value through interface
  11. * @api
  12. * @package Magento\Eav\Api\Data
  13. * @since 101.0.0
  14. */
  15. interface AttributeDefaultValueInterface
  16. {
  17. const DEFAULT_VALUE = "default_value";
  18. /**
  19. * @param string $defaultValue
  20. * @return \Magento\Framework\Api\MetadataObjectInterface
  21. * @since 101.0.0
  22. */
  23. public function setDefaultValue($defaultValue);
  24. /**
  25. * @return string
  26. * @since 101.0.0
  27. */
  28. public function getDefaultValue();
  29. }