Management
Magento\Catalog\Model\Product\Attribute\Management
What it does
This class manages product attributes within attribute sets and groups in Magento 2.
Developers use it to programmatically assign attributes to specific attribute groups, remove attributes from attribute sets, or retrieve all attributes belonging to a particular attribute set.
It serves as a facade that delegates operations to the EAV attribute management system specifically for product entities.
Public Methods
- assign()
- unassign()
- getAttributes()