Log in
Interface

GetPageByIdentifierInterface

Magento\Cms\Api\GetPageByIdentifierInterface

What it does

This interface defines a service contract for retrieving CMS page data by its URL identifier and store ID.

Developers use this when they need to programmatically fetch a specific CMS page's content and configuration, such as in custom controllers, view models, or plugins where the page identifier is known but the full page object is needed.

Public Methods

  • execute()