Model
DefaultAttributes
Magento\Catalog\Model\Product\Attribute\DefaultAttributes
What it does
This class provides a list of default static attributes that every product entity must have in Magento 2.
Developers would use this when they need to identify which product attributes are core system attributes that cannot be removed or when building queries that rely on guaranteed product fields like SKU, entity_id, or type_id.
Public Methods
- getDefaultAttributes()