Log in
Interface

RedirectDataPostprocessorInterface

Magento\Store\Model\StoreSwitcher\RedirectDataPostprocessorInterface

What it does

This interface defines a contract for post-processing redirect data when customers switch between different stores in a multi-store Magento setup.

Developers implement this interface to customize how data (like cart contents, customer sessions, or wishlist items) should be handled after a store switch redirect occurs, ensuring data continuity across store views.

Public Methods

  • process()