Model
ConfigurableAttributeHandler
Magento\ConfigurableProduct\Model\ConfigurableAttributeHandler
What it does
This class handles the logic for determining which product attributes can be used as configurable options in Magento 2.
Developers use it to retrieve attributes that meet specific criteria (global scope, dropdown/select type, user-defined) and validate if an attribute is applicable for configurable products based on product types it can be applied to.
Public Methods
- getApplicableAttributes()
- isAttributeApplicable()