Log in
Model

Path

Magento\Cookie\Model\Config\Backend\Path

What it does

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

Developers would encounter this class when working with cookie settings in the admin panel, as it ensures that any custom cookie path entered follows valid format rules and prevents invalid paths from being stored.

Public Methods

  • beforeSave()