Log in
Model

RemoveProductAttributeData

Magento\Catalog\Model\ResourceModel\Attribute\RemoveProductAttributeData

What it does

This class handles the deletion of product attribute data from database tables when an attribute set is modified or removed.

Developers would use this class when they need to clean up attribute values that are no longer valid for products after their attribute set has changed, ensuring data consistency in the catalog.

It's typically invoked during attribute set management operations to remove orphaned attribute data.

Public Methods

  • removeData()