Log in
Model

Group

Magento\Store\Model\StoreResolver\Group

What it does

This class resolves store IDs based on store group information in Magento 2.

Developers use it to retrieve all active store IDs belonging to a specific store group or to get the default store ID for a given group.

It's particularly useful when working with multi-store setups where you need to determine which stores belong to a particular group scope.

Public Methods

  • getAllowedStoreIds()
  • getDefaultStoreId()