Widget Module
Conditions
This helper class provides methods to encode and decode widget conditions for safe storage and retrieval in WYSIWYG editors. Developers use this when...
Config\Converter
This converter class transforms XML widget configuration files (widget.xml) into PHP arrays that Magento can use internally. Developers interact with...
Config\Data
This class manages configuration data for Magento 2 widgets by extending the scoped configuration data handler. It defines a specific scope priority s...
Config\FileResolver
This class locates and retrieves widget configuration files from different scopes in Magento 2. Developers use this to load widget.xml files either fr...
Config\Reader
This class reads and parses widget.xml configuration files from Magento 2 modules. It extends the filesystem configuration reader to specifically hand...
Config\SchemaLocator
This class locates and provides paths to XSD schema files used for validating widget configuration XML files in Magento 2. Developers use this class w...
DeleteWidgetById
This class provides a service for deleting widget instances from the Magento system by their ID. Developers would use this class when they need to pro...
Layout\Link
This model represents the relationship between widgets and layout updates in Magento 2. It links widget instances to specific stores, themes, and layo...
Layout\Update
This model represents layout updates stored in the database for widgets in Magento 2. Developers use this class to programmatically manage widget layo...
Model\Widget\Instance\OptionsFactory
This factory class creates option objects for widget instances dynamically based on a specified type. Developers use this when they need to instantiat...
NamespaceResolver
This class resolves widget class names by determining which Magento module they belong to, even when the module namespace is omitted. Developers use i...
ResourceModel\Layout\Link
This resource model manages database operations for the layout_link table, which connects widget instances to specific store layout updates. Developer...
ResourceModel\Layout\Plugin
This plugin intercepts layout update string retrieval to fetch widget-specific layout updates from the database. It enables dynamic widget layouts to...
ResourceModel\Layout\Update
This resource model manages database operations for layout updates in Magento 2's widget system. Developers use it to retrieve XML layout updates asso...
ResourceModel\Widget
This resource model manages database operations for widget data, specifically loading pre-configured widget settings from the 'widget' table. Develope...
ResourceModel\Widget\Instance
This resource model manages database operations for widget instances in Magento 2. Developers use this class when working with widgets to handle CRUD...
Template\Filter
This filter class processes template directives for widgets and media files in Magento 2 content. Developers use it when rendering CMS content, emails...
Template\FilterEmulate
This class processes widget and template directives while emulating the frontend area context, even when called from other areas like admin. Developer...
Widget
This model manages Magento 2 widget configurations and functionality. Developers use it to retrieve widget definitions from XML config, generate widge...
Widget\Config
This class configures and manages the widget insertion functionality for WYSIWYG editors in Magento's admin panel. Developers use this class to custom...
Widget\Instance
This model represents a widget instance in Magento 2, managing the configuration and placement of widgets throughout the store. Developers use this cl...