Config
Magento\Widget\Model\Widget\Config
What it does
This class configures and manages the widget insertion functionality for WYSIWYG editors in Magento's admin panel.
Developers use this class to customize which widgets are available in the editor, configure their display settings, and handle the encoding/decoding of widget parameters in URLs.
It provides the necessary plugin settings, placeholder images, and widget selection options for the TinyMCE editor integration.
Public Methods
- getConfig()
- getPluginSettings()
- getWidgetPlaceholderImageUrls()
- getErrorImageUrl()
- getWysiwygJsPluginSrc()
- getWidgetWindowUrl()
- encodeWidgetsToQuery()
- decodeWidgetsFromQuery()
- getAvailableWidgets()