Model
GetPageByIdentifier
Magento\Cms\Model\GetPageByIdentifier
What it does
This class retrieves a CMS page by its unique identifier (URL key) for a specific store.
Developers use this when they need to programmatically load a CMS page by its identifier rather than its database ID, such as when displaying a custom page or integrating CMS content into custom functionality.
Public Methods
- execute()