Log in
Model

GetUtilityPageIdentifiers

Magento\Cms\Model\GetUtilityPageIdentifiers

What it does

This class retrieves the identifiers of three critical CMS pages configured in Magento 2: the home page, 404 not found page, and cookie restriction notice page.

Developers use this when they need to identify which CMS pages are serving these special system functions, such as when programmatically checking or modifying these utility pages.

Public Methods

  • execute()