Log in
Model

StoresConfig

Magento\Store\Model\StoresConfig

What it does

This class retrieves configuration values for a specific configuration 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 simultaneously, returning an array where store IDs are keys and configuration values are the corresponding values.

Public Methods

  • getStoresConfigByPath()