Log in
Model

IsActiveFilter

Magento\Cms\Model\Page\Source\IsActiveFilter

What it does

This class provides filter options for CMS page active status in admin grids and forms.

It extends the IsActive source model by adding an empty option at the beginning of the array, allowing administrators to show all pages regardless of status when filtering.

Developers use this in UI components where an 'All' or blank filter option is needed alongside 'Enabled' and 'Disabled' options.

Public Methods

  • toOptionArray()