Log in
Model

Cache

Magento\Config\Model\Config\Backend\Cache

What it does

This backend model automatically cleans specific cache tags when a configuration value is saved and changed in the admin panel.

Developers would extend this class when creating system configuration fields that need to invalidate related caches upon value changes, ensuring the application reflects the new configuration immediately.

Public Methods

  • afterSave()