Model
IsActive
Magento\Cms\Model\Page\Source\IsActive
What it does
This class provides a standardized list of available status options (enabled/disabled) for CMS pages in Magento 2.
Developers use this class primarily in admin forms and grids where they need to display a dropdown or filter for CMS page status selection.
It implements OptionSourceInterface to integrate seamlessly with Magento's UI components and form elements.
Public Methods
- toOptionArray()