Log in
Model

Config

Magento\Catalog\Model\ProductTypes\Config

What it does

This class provides access to product type configurations in Magento 2, allowing developers to retrieve information about different product types (simple, configurable, bundle, etc.).

Developers use it to check product type properties, determine if a type is composable, filter types by attributes, or verify if a product type represents a set of products.

It acts as a centralized configuration registry for all product types in the system.

Public Methods

  • getType()
  • getAll()
  • isProductSet()
  • getComposableTypes()
  • filter()