Log in
Model

Management

Magento\Catalog\Model\Product\Attribute\Management

What it does

This class manages product attribute assignments to attribute sets and groups in Magento 2.

Developers use it to programmatically assign or unassign attributes to product attribute sets, retrieve attributes for a specific set, and control their display order within attribute groups.

It acts as a wrapper around the EAV attribute management system specifically for product entities.

Public Methods

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