Model
PageLayout
Magento\Cms\Model\Page\Source\PageLayout
What it does
This class provides a list of available page layout options for CMS pages in Magento 2, formatted as an array suitable for dropdown menus and form fields.
Developers use this when they need to populate layout selection fields in the admin panel or programmatically retrieve available page layout configurations like 1-column, 2-column, or 3-column layouts.
Public Methods
- toOptionArray()