Log in
Model

Domain

Magento\Cookie\Model\Config\Backend\Domain

What it does

This backend model validates cookie domain configuration values before they are saved in Magento's system configuration.

Developers use this class to ensure that only valid domain names can be set for cookie domains in the admin panel, preventing configuration errors that could break session/cookie functionality.

Public Methods

  • beforeSave()