Log in
Model

GetUtilityPageIdentifiers

Magento\Cms\Model\GetUtilityPageIdentifiers

What it does

This class retrieves the identifiers of special utility CMS pages configured in Magento's store settings.

Developers use this to programmatically access which pages are set as the home page, 404 not found page, and cookie restriction notice page, which is useful when needing to exclude or specially handle these system pages in custom logic.

Public Methods

  • execute()