- Issue created by @wim leers
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
[…] replace/override/intercept the route parameter with one that reflects the values in the XB UI of the XB field (the component tree) and all other fields.
The closest I've ever built something like this is for, see
MigrationPreviewer::buildPreview()
. That's at the render array/entity view builder level, not the route/controller level. But it does generate a bona fide entity object, so it actually is comparable.(I bet this can be implemented using a
KernelEvents::REQUEST
event subscriber that modifies the entity object that\Drupal\Core\ParamConverter\EntityConverter
converted.)