Model
Theme
Magento\Theme\Model\Theme\Source\Theme
What it does
This class serves as a source model for EAV attributes that need to display a list of available themes, such as the custom_design attribute.
Developers use this when creating dropdowns or select fields that allow users to choose from available Magento themes, commonly seen in CMS pages, categories, or products where custom theme selection is needed.
Public Methods
- getAllOptions()