Model
CmsPageTypeResolver
Magento\CmsUrlRewriteGraphQl\Model\CmsPageTypeResolver
What it does
This class resolves the GraphQL type for CMS page entities in URL rewrite queries.
It checks if the entity type is 'CMS_PAGE' and returns the appropriate GraphQL type name 'CmsPage', enabling the GraphQL API to correctly identify and return CMS page data when resolving URL rewrites.
Public Methods
- resolveType()