From b5dc4ddac039981a92c510d25d90412fa5f15693 Mon Sep 17 00:00:00 2001 From: Jeroen Thora Date: Sun, 7 Apr 2024 12:51:28 +0200 Subject: [PATCH] [MediaBundle] Prepend gedmo translatable doctrine mapping with attributes --- .../MediaBundle/DependencyInjection/KunstmaanMediaExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kunstmaan/MediaBundle/DependencyInjection/KunstmaanMediaExtension.php b/src/Kunstmaan/MediaBundle/DependencyInjection/KunstmaanMediaExtension.php index 4b4da70076..76777f790b 100644 --- a/src/Kunstmaan/MediaBundle/DependencyInjection/KunstmaanMediaExtension.php +++ b/src/Kunstmaan/MediaBundle/DependencyInjection/KunstmaanMediaExtension.php @@ -95,7 +95,7 @@ public function prepend(ContainerBuilder $container): void 'orm' => [ 'mappings' => [ 'gedmo_translatable' => [ - 'type' => 'annotation', + 'type' => 'attribute', 'prefix' => 'Gedmo\Translatable\Entity', 'dir' => '%kernel.project_dir%/vendor/gedmo/doctrine-extensions/' . $baseDir . '/Translatable/Entity', 'alias' => 'GedmoTranslatable',