Log in
Interface

AttributeManagementInterface

Magento\Eav\Api\AttributeManagementInterface

What it does

This interface defines the contract for managing EAV (Entity-Attribute-Value) attributes within attribute sets in Magento 2.

Developers use this to programmatically assign attributes to attribute sets, remove them, or retrieve all attributes for a given attribute set.

It's commonly used when creating custom modules that need to manipulate product, customer, or category attributes.

Public Methods

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