From 853b2e918d1bffeeebee7bdf377e31a0382eadaf Mon Sep 17 00:00:00 2001 From: Ilyas Salikhov Date: Thu, 23 Apr 2026 16:52:09 +0300 Subject: [PATCH] Add embed JS settings main page field --- src/Model/Entity/Integration/EmbedJs/EmbedJsPage.php | 8 ++++++++ tests/src/ResourceGroup/IntegrationTests.php | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/Model/Entity/Integration/EmbedJs/EmbedJsPage.php b/src/Model/Entity/Integration/EmbedJs/EmbedJsPage.php index 9476d4db..3778b27b 100644 --- a/src/Model/Entity/Integration/EmbedJs/EmbedJsPage.php +++ b/src/Model/Entity/Integration/EmbedJs/EmbedJsPage.php @@ -66,4 +66,12 @@ class EmbedJsPage * @JMS\SerializedName("pageHelpLink") */ public $pageHelpLink; + + /** + * @var bool + * + * @JMS\Type("bool") + * @JMS\SerializedName("isSettingsMainPage") + */ + public $isSettingsMainPage; } diff --git a/tests/src/ResourceGroup/IntegrationTests.php b/tests/src/ResourceGroup/IntegrationTests.php index fb59b13c..3266ca98 100644 --- a/tests/src/ResourceGroup/IntegrationTests.php +++ b/tests/src/ResourceGroup/IntegrationTests.php @@ -188,6 +188,7 @@ public function testEmbedJsEdit(): void $page->menuItemOrdering = 100; $page->menuItemTitle = $menuItemTitle; $page->pageHelpLink = $pageHelpLink; + $page->isSettingsMainPage = true; $module = new IntegrationModule(); $module->integrations = new Integrations(); @@ -237,6 +238,7 @@ public function testEmbedJsEdit(): void 'es' => 'https://example.com/help/es', 'ru' => 'https://example.com/help/ru', ], + 'isSettingsMainPage' => true, ], ], ], $integrationModule['integrations']['embedJs']);