Log in
Model

RedirectDataPreprocessorComposite

Magento\Store\Model\StoreSwitcher\RedirectDataPreprocessorComposite

What it does

This class acts as a composite processor that chains multiple redirect data preprocessors together when switching between store views.

Developers use this to add custom preprocessing logic before redirecting users to a different store, such as modifying URLs, preserving cart data, or handling custom parameters during store switching operations.

Public Methods

  • process()