Log in
Model

ScopeTreeProvider

Magento\Store\Model\ScopeTreeProvider

What it does

This class builds a hierarchical tree structure representing Magento's scope configuration (default → websites → store groups → store views).

Developers use this when they need to understand or process the complete scope hierarchy, such as when managing configuration settings, processing scope-specific data, or building administrative interfaces that display the store structure.

Public Methods

  • get()