Log in
Model

Set

Magento\Eav\Model\Entity\Attribute\Set

What it does

This class manages EAV (Entity-Attribute-Value) attribute sets, which are collections of attributes grouped together for entities like products or categories.

Developers use this to create, modify, or clone attribute sets, organize attributes into groups, and validate attribute set configurations.

It's commonly used when programmatically managing product attribute sets or creating custom entity types with grouped attributes.

Public Methods

  • initFromSkeleton()
  • organizeData()
  • validate()
  • addSetInfo()
  • getDefaultGroupId()
  • getAttributeSetId()
  • getAttributeSetName()
  • getSortOrder()
  • getEntityTypeId()
  • setName()
  • setAttributeSetId()
  • setAttributeSetName()
  • setSortOrder()
  • setEntityTypeId()
  • getExtensionAttributes()
  • setExtensionAttributes()