Log in
Model

RecentlyViewedStorageConfiguration

Magento\Catalog\Model\Widget\RecentlyViewedStorageConfiguration

What it does

This class provides configuration settings for the recently viewed products widget in Magento 2.

Developers use it to retrieve the lifetime duration of recently viewed products from the store configuration, which determines how long product view history is stored in browser storage.

It implements the FrontendStorageConfigurationInterface to ensure consistent configuration handling for frontend storage features.

Public Methods

  • get()