Log in
Interface

RedirectDataPreprocessorInterface

Magento\Store\Model\StoreSwitcher\RedirectDataPreprocessorInterface

What it does

This interface defines a contract for preprocessing redirect data when customers switch between different stores in Magento 2.

Developers implement this interface to manipulate or add data that needs to be transferred from the current store to the target store during the switch, such as preserving cart items, customer session data, or custom parameters.

Public Methods

  • process()