From 19320c41fb8906a2477ef32ae8759344d7a7510b Mon Sep 17 00:00:00 2001 From: robertSt7 Date: Tue, 10 Dec 2024 15:43:36 +0100 Subject: [PATCH 1/2] Task: add-quill to bundleSetup --- src/EventSubscriber/BundleSetupSubscriber.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/EventSubscriber/BundleSetupSubscriber.php b/src/EventSubscriber/BundleSetupSubscriber.php index 3b1791280..5c7f427b8 100644 --- a/src/EventSubscriber/BundleSetupSubscriber.php +++ b/src/EventSubscriber/BundleSetupSubscriber.php @@ -20,6 +20,7 @@ use Pimcore\Bundle\AdminBundle\PimcoreAdminBundle; use Pimcore\Bundle\InstallBundle\Event\BundleSetupEvent; use Pimcore\Bundle\InstallBundle\Event\InstallEvents; +use Pimcore\Bundle\QuillBundle\PimcoreQuillBundle; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class BundleSetupSubscriber implements EventSubscriberInterface @@ -37,5 +38,6 @@ public function bundleSetup(BundleSetupEvent $event): void { // add required PimcoreAdminBundle $event->addRequiredBundle('PimcoreAdminBundle', PimcoreAdminBundle::class, true); + $event->addInstallableBundle('PimcoreQuillBundle', PimcoreQuillBundle::class, true); } } From f1447580eb568a45b425ddc6f7ec64adf9c8431c Mon Sep 17 00:00:00 2001 From: robertSt7 <104770750+robertSt7@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:42:26 +0100 Subject: [PATCH 2/2] Update src/EventSubscriber/BundleSetupSubscriber.php Co-authored-by: Bernhard Rusch --- src/EventSubscriber/BundleSetupSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventSubscriber/BundleSetupSubscriber.php b/src/EventSubscriber/BundleSetupSubscriber.php index 5c7f427b8..a14b846c7 100644 --- a/src/EventSubscriber/BundleSetupSubscriber.php +++ b/src/EventSubscriber/BundleSetupSubscriber.php @@ -38,6 +38,6 @@ public function bundleSetup(BundleSetupEvent $event): void { // add required PimcoreAdminBundle $event->addRequiredBundle('PimcoreAdminBundle', PimcoreAdminBundle::class, true); - $event->addInstallableBundle('PimcoreQuillBundle', PimcoreQuillBundle::class, true); + $event->addRequiredBundle('PimcoreQuillBundle', PimcoreQuillBundle::class, true); } }