Log in
Model

OptionLabel

Magento\Eav\Model\Entity\Attribute\OptionLabel

What it does

This model represents a label for an attribute option in a specific store view.

Developers use this class when working with EAV attribute options that need to have different labels per store, such as dropdown or multiselect product attributes that require translations or store-specific naming.

Public Methods

  • getLabel()
  • getStoreId()
  • setStoreId()
  • setLabel()