Model
Store
Magento\Config\Model\Config\Source\Store
What it does
This class provides a source model for store selection dropdowns in Magento's system configuration.
Developers use it when creating configuration fields that need to display a list of available stores as options, typically by referencing it in a system.xml source_model attribute.
Public Methods
- toOptionArray()