- Issue created by @pdureau
- 🇫🇷France goz
It's not so easy.
The twig is called when the display builder is loaded. Contextual islands are not loaded yet,and no contextual island plugin is loaded.
Islands Plugins are loaded once an instance is triggered, but only plugins are updated, not the contextual area.Events seem to be triggered on islands plugins, not on the contextual area.
I look forward, but may be someone with more knowledge about how display_builder works has an idea ?
- 🇫🇷France pdureau Paris
yes, it is not an easy task. Your analysis is right, Goz. Let's postpone it to alpha2.
- 🇫🇷France pdureau Paris
I did the analysis and updated the issue description. Who takes the task?
- 🇫🇷France mogtofu33
An other alternative is to do this on js as we have on the click element the html attributes of title and even index.
As the drawer title is a property set on the load of the component in the display_builder component it would avoir more php.