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 store views in Magento.

Developers implement this interface to modify or enrich the data array that gets passed along during store switching, such as preserving cart contents, customer session data, or custom parameters when redirecting users to a different store view or website.

Public Methods

  • process()