Log in
Model

IsActive

Magento\Cms\Model\Page\Source\IsActive

What it does

This class provides a data source for CMS page status options (enabled/disabled) used in admin forms and grids.

Developers use it when building UI components that need to display or filter CMS pages by their active/inactive status, ensuring consistent status options throughout the admin interface.

Public Methods

  • toOptionArray()