Log in
Interface

ConfigInterface

Magento\Catalog\Model\ProductOptions\ConfigInterface

What it does

This interface defines the contract for retrieving product options configuration in Magento 2.

Developers use implementations of this interface to fetch configuration details for specific product option types by name or to retrieve all registered product option configurations at once.

It's commonly used when working with customizable product options or when building features that need to understand available product option types.

Public Methods

  • getOption()
  • getAll()