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 URL parameters in the request.

Developers use it when working with system configuration to identify which scope level (default, website, or store view) the admin user is currently editing, allowing configuration changes to be saved at the appropriate level.

Public Methods

  • getScope()