RedirectDataPreprocessorComposite
Magento\Store\Model\StoreSwitcher\RedirectDataPreprocessorComposite
What it does
This class acts as a composite processor that manages multiple redirect data preprocessors during store switching operations.
When a customer switches between stores in Magento 2, this class sequentially executes all registered preprocessors to transform and prepare redirect data before the actual redirect occurs.
Developers would use this to add custom preprocessing logic when customers switch between different store views or websites.
Public Methods
- process()