Log in
Model

ConfigPlugin

Magento\Customer\Model\Cart\ConfigPlugin

What it does

This plugin intercepts the cart sidebar configuration to add customer-specific data to the cart's frontend configuration.

Developers would encounter this when customizing the shopping cart sidebar behavior or when needing to understand how customer information is injected into the cart configuration.

It ensures that customer-related settings from the checkout configuration provider are merged with the existing cart sidebar configuration.

Public Methods

  • afterGetConfig()