Log in
Model

IsActiveFilter

Magento\Cms\Model\Page\Source\IsActiveFilter

What it does

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

It extends the IsActive source model and adds an empty option at the beginning, allowing users to select 'All' or no filter in addition to active/inactive states.

Developers use this in UI components or forms where filtering by page status is needed, particularly in admin panels.

Public Methods

  • toOptionArray()