Log in
Model

ValueChecker

Magento\Theme\Model\Design\Config\ValueChecker

What it does

This class checks if a theme design configuration value differs from its parent scope's value (e.g., comparing store view settings to website or default settings).

Developers use it when saving theme configuration to determine if a value should be stored at the current scope level or if it can inherit from a parent scope, helping to avoid unnecessary database entries.

Public Methods

  • isDifferentFromDefault()