Log in
Model

RecentlyViewedStorageConfiguration

Magento\Catalog\Model\Widget\RecentlyViewedStorageConfiguration

What it does

This class provides configuration for frontend storage of recently viewed products widgets in Magento 2.

Developers use it to retrieve the lifetime setting that determines how long recently viewed product data should be stored in the browser's local storage.

It implements the FrontendStorageConfigurationInterface to standardize storage configuration across different widget types.

Public Methods

  • get()