Skip to content

Commit

Permalink
Fix ORM translatable listener to support SF7
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Sep 4, 2024
1 parent d15296e commit 7371171
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
<service id="sylius.translation.translatable_listener.doctrine.orm" class="Sylius\Bundle\ResourceBundle\EventListener\ORMTranslatableListener">
<argument type="service" id="sylius.resource_registry" />
<argument type="service" id="sylius.translatable_entity_locale_assigner" />
<tag name="doctrine.event_subscriber" connection="default" priority="99" />
<tag name="doctrine.event_listener" connection="default" event="loadClassMetadata" priority="99" />
<tag name="doctrine.event_listener" connection="default" event="postLoad" priority="99" />
</service>
<service id="Sylius\Bundle\ResourceBundle\EventListener\ORMTranslatableListener" alias="sylius.translation.translatable_listener.doctrine.orm" />

Expand Down

0 comments on commit 7371171

Please sign in to comment.