Lifetime
Magento\Cookie\Model\Config\Backend\Lifetime
What it does
This backend model validates cookie lifetime values when they are saved in the Magento admin configuration.
Developers use this class to ensure that cookie lifetime settings entered by administrators meet the required validation rules before being stored in the system configuration.
It automatically triggers validation before saving any changes to the cookie lifetime configuration value.
Public Methods
- beforeSave()