Log in
Helper

Conditions

Magento\Widget\Helper\Conditions

What it does

This helper class provides methods to encode and decode widget conditions for safe storage and retrieval in WYSIWYG editors.

Developers use this when working with widget configurations that contain conditions, ensuring special characters are properly handled during serialization and deserialization to prevent conflicts with HTML markup.

Public Methods

  • encode()
  • decode()