Skip to content
Snippets Groups Projects
Commit 302a37f2 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Benni Mack
Browse files

[BUGFIX] Live Search: Rework registration of renderers and invoke handlers

This patch introduces a new global `LiveSearchConfigurator` module that
can be used anywhere in the TYPO3 backend to load configuration of the
Live Search.

The methods `LiveSearch.addRenderer()` and
`LiveSearch.addInvokeHandler()` were removed. Instead,
`LiveSearchConfigurator` should be used. Web components where thinned
out to not rely on getting such configuration handed in anymore.

However, there's a small API change:
`LiveSearchConfigurator.addRenderer()` now requires a new argument
`module` to be able to load modules on-demand if they were not loaded
already in the current backend scope.

Resolves: #99891
Releases: main
Change-Id: I30d9562b92671d0c6d1f8d1234dfcdd9da742a3a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77796


Reviewed-by: default avatarFrank Nägler <frank.naegler@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarFrank Nägler <frank.naegler@typo3.com>
Reviewed-b...
parent fba9dfa4
Showing
with 114 additions and 54 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment