It should be fairly easy to add a token replacement to the markup text value.

Further work is required to:

  • Make the UI field aware that it can take tokens and show the user which tokens are available in token browser below the form.
  • Grab tokens from the entity form (if possible).
  • Document in README that Token module is required, and where to see available tokens, until token browser is ready.
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieuwe created an issue. See original summary.

  • dieuwe committed a5e59e7 on 1.0.x
    Issue #3309975: Token support to fieldgroup markup text
    
dieuwe’s picture

Status: Active » Needs work

Basic token replacement has been added in the process() function, but more work is required (see issue summary for list).

ressa made their first commit to this issue’s fork.

ressa’s picture

Issue summary: View changes

Great module, thanks for making it!

Perhaps it can be made clearer that token support requires the Token module, and where to see available tokens? Inserting a token browser below the form could be considered, if it's not too much work ...

ressa’s picture

Issue summary: View changes

Reading the Issue Summary again, and I now realize that token browser is number #1 on the list.