Log in
Model

Group

Magento\Eav\Model\Entity\Attribute\Group

What it does

This class represents an attribute group within an attribute set in Magento's EAV system.

Developers use it to organize related attributes together (e.g., grouping product attributes like 'price', 'SKU', 'weight' under a 'General' group) and manage their display in admin forms.

It handles automatic generation of attribute group codes from names and provides methods to check existence and delete groups.

Public Methods

  • itemExists()
  • deleteGroups()
  • beforeSave()
  • getAttributeGroupId()
  • getAttributeGroupName()
  • getAttributeSetId()
  • setAttributeGroupId()
  • setAttributeGroupName()
  • setAttributeSetId()
  • getExtensionAttributes()
  • setExtensionAttributes()