Factory
OptionsFactory
Magento\Widget\Model\Widget\Instance\OptionsFactory
What it does
This factory class creates option objects for widget instances dynamically based on a specified type.
Developers use this when they need to instantiate different option source classes for widget configuration dropdowns or select fields, allowing widgets to have configurable parameters with various data sources.
Public Methods
- create()