Interface
AttributeOptionLabelInterface
Magento\Eav\Api\Data\AttributeOptionLabelInterface
What it does
This interface defines the contract for attribute option labels in Magento's EAV system.
Developers use it when working with attribute options that need different labels per store view, such as color or size attributes that must be translated.
It provides methods to get and set both the label text and the associated store ID for multi-store label management.
Public Methods
- getStoreId()
- setStoreId()
- getLabel()
- setLabel()