Log in
Model

Attribute

Magento\Catalog\Model\ResourceModel\Attribute

What it does

This resource model manages catalog attribute persistence and deletion operations in Magento 2.

Developers use this class when working with product or category attributes, particularly when saving attributes with scope changes or removing attributes from attribute sets.

It handles validation, data cleanup, and ensures attribute integrity during save and delete operations.

Public Methods

  • deleteEntity()