Skip to content
Chris Green requested to merge issue/drupal-2903336:9.2.x into 9.2.x

Adds token context array to url options array in database so that contextual tokens can validate on form submission.

a:1:{s:7:"context";a:1:{s:4:"node";s:3:"193";}}

This currently only works on form submissions, tested with a migration and it seems more work is needed to make this work in a migration, my assumption is that it probably won't work in other non-form related entity creations either. example JSON API

links are rendered correctly on the front end, but they are not tied to the context in the database, and are instead tied to the node itself.

The contrib module: https://www.drupal.org/project/field_group_link does not render link properly which leads to other questions about how these types of links should be rendered.

Additionally, this does not account for entity references via token.

Edited by Chris Green

Merge request reports