ConfigInterface
Magento\Catalog\Model\ProductTypes\ConfigInterface
What it does
This interface defines the contract for accessing Magento 2 product type configurations.
Developers use this to retrieve product type settings, check if a type is a product set (like bundles or grouped products), get composable types, and filter product types based on custom attributes.
It's essential when working with different product types or building extensions that need to understand product type capabilities.
Public Methods
- getType()
- getAll()
- isProductSet()
- getComposableTypes()
- filter()