Log in
Interface

ConfigInterface

Magento\Catalog\Model\ProductOptions\ConfigInterface

What it does

This interface defines a contract for accessing product option configurations in Magento 2.

Developers implement this interface to retrieve specific product option configurations by name or fetch all registered product option types at once.

It's typically used when building custom product options or extending the product configuration system.

Public Methods

  • getOption()
  • getAll()