Log in
Model

Config

Magento\Config\Model\Config

What it does

This class handles saving and loading system configuration values in Magento 2's admin panel.

Developers use it to programmatically save configuration changes across different scopes (default, website, store), validate field permissions, and trigger events when config values change.

It manages database transactions for config updates and ensures proper inheritance between configuration scopes.

Public Methods

  • save()
  • load()
  • extendConfig()
  • setDataByPath()
  • getConfigDataValue()