Config
Magento\Catalog\Model\ProductTypes\Config
What it does
This class provides access to product type configurations in Magento 2.
Developers use it to retrieve information about registered product types (simple, configurable, bundle, etc.), check if a type is composable, or filter product types by specific attributes.
It's commonly used when working with product type behaviors, validations, or when building features that need to distinguish between different product types.
Public Methods
- getType()
- getAll()
- isProductSet()
- getComposableTypes()
- filter()