Log in
Model

PageLayoutFilter

Magento\Cms\Model\Page\Source\PageLayoutFilter

What it does

This class provides a filterable list of page layout options for CMS pages, extending the base PageLayout source model by adding an empty option at the beginning.

Developers use this in admin forms where filtering by page layout is optional, such as grid filters or search forms, allowing users to select 'All' or no specific layout.

Public Methods

  • toOptionArray()