Log in
Model

AttributeManagement

Magento\Eav\Model\AttributeManagement

What it does

This class manages the assignment and retrieval of EAV attributes within attribute sets and groups.

Developers use it to programmatically assign attributes to specific attribute sets, unassign them, or retrieve all attributes belonging to a particular attribute set.

It's commonly used when building custom attribute management features or during data migration/import processes.

Public Methods

  • assign()
  • unassign()
  • getAttributes()