Log in
Model

DefaultAttributes

Magento\Catalog\Model\Product\Attribute\DefaultAttributes

What it does

This class provides the list of default static attributes that every product entity must have in Magento 2.

Developers use this when they need to identify which product attributes are core system attributes that cannot be removed or when working with EAV attribute operations that need to distinguish between static and dynamic attributes.

Public Methods

  • getDefaultAttributes()