AttributeDefaultValueInterface
Magento\Eav\Api\Data\AttributeDefaultValueInterface
What it does
This interface defines a contract for managing default values of EAV (Entity-Attribute-Value) attributes in Magento 2.
Developers use this interface when they need to get or set default values for custom or existing product, customer, or category attributes programmatically.
It's particularly useful when creating attribute management extensions or customizing attribute behavior.
Public Methods
- setDefaultValue()
- getDefaultValue()