/**
* @return void
*/
public function getCustomPageAction() { $shopPageGateway =
$this->container->
get('shopware_storefront.shop_page_service'
);
$list =
$shopPageGateway->
getList( [(int) $this->
Request()->
getParam('pageId', 0
)],
$this->container->
get(ContextServiceInterface::
class)->
getShopContext() );
$list =
$this->container->
get(LegacyStructConverter::
class)->
convertShopPageStructList($list);
$page =
current($list);
$this->
View()->
assign('customPage',
[ 'parent' =>
$page,
'children' =>
$page['children'
],
]);
} /**
* Helper function to return the category information by category id
*
* @return array<string, mixed>
*/