Log in
Interface

RedirectDataPostprocessorInterface

Magento\Store\Model\StoreSwitcher\RedirectDataPostprocessorInterface

What it does

This interface defines a contract for processing redirect data when customers switch between different store views in Magento 2.

Developers implement this interface to create custom post-processors that handle specific data transformations or actions after a store switch occurs, such as maintaining cart contents, customer session data, or other store-specific information during the redirect.

Public Methods

  • process()