Log in
Model

Serialized

Magento\Config\Model\Config\Backend\Serialized

What it does

This backend model handles configuration values that need to be stored as serialized JSON in the database.

Developers use this class when creating system configuration fields that store array or complex data structures, automatically converting between array format (for application use) and JSON format (for database storage).

It's commonly extended for custom configuration options that require structured data like key-value pairs or multi-dimensional arrays.

Public Methods

  • beforeSave()
  • getOldValue()