PageLayoutFilter
Magento\Cms\Model\Page\Source\PageLayoutFilter
What it does
This class provides a filtered list of available page layouts for CMS pages, including an empty option at the beginning.
Developers use this when creating dropdown filters or selectors in the admin panel where an 'All' or 'None' option is needed alongside the available page layouts.
It extends the base PageLayout source model and prepends an empty option to allow users to select no specific layout filter.
Public Methods
- toOptionArray()