31 private $moduleDataSetup;
36 private $queryModifierFactory;
41 private $metadataPool;
46 private $aggregatedFieldDataConverter;
61 $this->moduleDataSetup = $moduleDataSetup;
62 $this->queryModifierFactory = $queryModifierFactory;
63 $this->metadataPool = $metadataPool;
64 $this->aggregatedFieldDataConverter = $aggregatedFieldDataConverter;
72 $queryModifier = $this->queryModifierFactory->create(
76 'content' =>
'%conditions_encoded%' 80 $layoutUpdateXmlFieldQueryModifier = $this->queryModifierFactory->create(
84 'layout_update_xml' =>
'%conditions_encoded%' 88 $customLayoutUpdateXmlFieldQueryModifier = $this->queryModifierFactory->create(
92 'custom_layout_update_xml' =>
'%conditions_encoded%' 96 $blockMetadata = $this->metadataPool->getMetadata(BlockInterface::class);
97 $pageMetadata = $this->metadataPool->getMetadata(PageInterface::class);
98 $this->aggregatedFieldDataConverter->convert(
101 ContentConverter::class,
102 $this->moduleDataSetup->getTable(
'cms_block'),
103 $blockMetadata->getIdentifierField(),
108 ContentConverter::class,
109 $this->moduleDataSetup->getTable(
'cms_page'),
110 $pageMetadata->getIdentifierField(),
115 LayoutUpdateConverter::class,
116 $this->moduleDataSetup->getTable(
'cms_page'),
117 $pageMetadata->getIdentifierField(),
119 $layoutUpdateXmlFieldQueryModifier
122 LayoutUpdateConverter::class,
123 $this->moduleDataSetup->getTable(
'cms_page'),
124 $pageMetadata->getIdentifierField(),
125 'custom_layout_update_xml',
126 $customLayoutUpdateXmlFieldQueryModifier
129 $this->moduleDataSetup->getConnection()
139 UpdatePrivacyPolicyPage::class,