Log in
Interface

ConfigProviderInterface

Magento\Checkout\Model\ConfigProviderInterface

What it does

This interface defines a contract for classes that provide configuration data to the checkout process in Magento 2.

Developers implement this interface when they need to inject custom configuration settings, payment methods, shipping information, or other data into the checkout page's JavaScript components.

Any class implementing this interface can be added to the checkout configuration provider pool to extend checkout functionality.

Public Methods

  • getConfig()