Log in
Model

Config

Magento\Config\Model\ResourceModel\Config

What it does

This class manages database operations for Magento 2's core configuration data stored in the core_config_data table.

Developers use it to programmatically save or delete system configuration values at different scopes (default, website, store).

It triggers cache invalidation via poison pill after each operation to ensure configuration changes are propagated across the system.

Public Methods

  • saveConfig()
  • deleteConfig()