Log in
Model

ScopeDefiner

Magento\Config\Model\Config\ScopeDefiner

What it does

This class determines the current configuration scope (store, website, or default) based on request parameters.

Developers use it when working with system configuration to understand which scope level (default, website, or store view) is currently being accessed or modified.

It's particularly useful in admin panel operations where configuration settings can be managed at different scope levels.

Public Methods

  • getScope()