Model
Instance
Magento\Widget\Model\ResourceModel\Widget\Instance
What it does
This resource model manages database operations for widget instances in Magento 2.
Developers use this class when working with widgets to handle CRUD operations, manage page assignments, store associations, and layout updates.
It automatically handles related data like page groups, layout handles, and store assignments when saving or deleting widget instances.
Public Methods
- lookupStoreIds()