- Issue created by @mandclu
Currently this module is configured by choosing references to specific fields. In the case of the image, an additional field is provided to choose an image style.
All of this capability could be provided (with fewer fields) by allowing for tokens to be provided, which can specify image styles and other formatting specifics. This could also be useful for the foreground image field proposed in ✨ Allow for a foreground image element Active , especially since the example cited there is actually a field on a referenced entity, and referencing those kind of deeper relationships (and adding local formatting features like image styles) using tokens is an understood approach in the Drupal community.
Refactor the form elements to expect tokens instead, and allow the UI to include a link to launch the token browser. Similarly refactor the code to parse the settings values for tokens.
Active
1.0
Code