Log in

Widget Module

Conditions

Helper

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

Model

This converter class transforms XML widget configuration files (widget.xml) into PHP arrays that Magento can use internally. Developers interact with...

Config\Data

Model

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

Model

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

Model

This class reads and parses widget.xml configuration files from Magento 2 modules. It extends the filesystem configuration reader to specifically hand...

Config\SchemaLocator

Model

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

Model

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

Model

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

Model

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

Factory

This factory class creates option objects for widget instances dynamically based on a specified type. Developers use this when they need to instantiat...

NamespaceResolver

Model

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

Model

This resource model manages database operations for the layout_link table, which connects widget instances to specific store layout updates. Developer...

ResourceModel\Layout\Plugin

Model

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

Model

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

Model

This resource model manages database operations for widget data, specifically loading pre-configured widget settings from the 'widget' table. Develope...

ResourceModel\Widget\Instance

Model

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

Model

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

Model

This class processes widget and template directives while emulating the frontend area context, even when called from other areas like admin. Developer...

Widget

Model

This model manages Magento 2 widget configurations and functionality. Developers use it to retrieve widget definitions from XML config, generate widge...

Widget\Config

Model

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

Model

This model represents a widget instance in Magento 2, managing the configuration and placement of widgets throughout the store. Developers use this cl...