Model
Layout
Magento\Theme\Model\Layout\Source\Layout
What it does
This class provides page layout options for Magento 2's theme system.
Developers use it to populate dropdown menus in the admin panel where users can select different page layouts (1-column, 2-column, etc.) for pages and categories.
It implements ArrayInterface to format layout options as arrays for form fields.
Public Methods
- getOptions()
- toOptionArray()
- getDefaultValue()