Log in
Model

Locale

Magento\Config\Model\Config\Backend\Locale

What it does

This backend model validates allowed currencies configuration in Magento 2's system settings.

It ensures that when an administrator changes the list of allowed currencies, any currency currently set as a base or default display currency (at default, website, or store scope) remains in the allowed list.

Developers use this class indirectly when currencies are configured through the admin panel.

Public Methods

  • afterSave()