File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
app/code/Magento/CmsGraphQl
Model/Resolver/DataProvider Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ private function convertPageData(PageInterface $page)
97
97
$ pageData = [
98
98
'url_key ' => $ page ->getIdentifier (),
99
99
PageInterface::PAGE_ID => $ page ->getId (),
100
+ PageInterface::IDENTIFIER => $ page ->getIdentifier (),
100
101
PageInterface::TITLE => $ page ->getTitle (),
101
102
PageInterface::CONTENT => $ renderedContent ,
102
103
PageInterface::CONTENT_HEADING => $ page ->getContentHeading (),
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ type Query {
22
22
23
23
type CmsPage @doc (description : " CMS page defines all CMS page information" ) {
24
24
page_id : Int @doc (description : " Entity ID of CMS page" )
25
+ identifier : String @doc (description : " Identifier of the CMS page" )
25
26
url_key : String @doc (description : " URL key of CMS page" )
26
27
title : String @doc (description : " CMS page title" )
27
28
content : String @doc (description : " CMS page content" )
You can’t perform that action at this time.
0 commit comments