Log in
Model

Type

Magento\Catalog\Model\Product\Attribute\Type

What it does

This class represents a product attribute type data model in Magento 2's catalog system.

Developers use it to work with attribute type information, specifically to get and set the value and label of product attribute types (like text, dropdown, date, etc.).

It implements the ProductAttributeTypeInterface and provides extension attribute support for customization.

Public Methods

  • getValue()
  • getLabel()
  • setValue()
  • setLabel()
  • getExtensionAttributes()
  • setExtensionAttributes()