Log in
Model

StoresConfig

Magento\Store\Model\StoresConfig

What it does

This class retrieves configuration values for a specific path across all stores in a Magento installation.

Developers use it when they need to compare or collect the same configuration setting from multiple stores at once, returning an array with store IDs as keys and their respective configuration values.

Public Methods

  • getStoresConfigByPath()