Skip to content

Commit

Permalink
[TASK] Change Dropdown rendering for translations
Browse files Browse the repository at this point in the history
Getting rid of x-classing is the goal and with v12 an event is provided
manipulating the header of the RecordListController.

In favour of using this event instead of x-classing the original class, an event
listener is added generating the dropdown and adding top-most of the recordlist.

This has effects on positioning of the translation dropdown, which now is
rendered before the core dropdown instead of next to it.
  • Loading branch information
calien666 committed Dec 18, 2024
1 parent 8baf634 commit 6ec8ad4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Configuration/Services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ services:
tags:
- name: 'event.listener'
identifier: 'deepltranslate-core/render-translated-flag-in-frontend-preview-mode'
event: TYPO3\CMS\Frontend\Event\AfterCacheableContentIsGeneratedEvent

WebVision\Deepltranslate\Core\Event\Listener\UsageToolBarEventListener:
tags:
Expand Down

0 comments on commit 6ec8ad4

Please sign in to comment.