Log in
Interface

ConfigInterface

Magento\Catalog\Model\ProductTypes\ConfigInterface

What it does

This interface defines methods for retrieving and managing product type configurations in Magento 2.

Developers use it to get information about registered product types (simple, configurable, bundle, etc.), check if a product type is a set of products, and filter types based on custom attributes.

It's commonly used when building extensions that need to interact with different product types or when customizing product type behavior.

Public Methods

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