esmero / format_strawberryfield

Set of Display formatters, extractors and utils to make Strawberry field data glow
GNU Lesser General Public License v3.0
6 stars 9 forks source link

Implement Tokens for quick access to Archipelago Specific data #146

Open DiegoPino opened 3 years ago

DiegoPino commented 3 years ago

What?

The time has come and we have the perfect skillful candidate to work on this (πŸ‘€ @pcambra !) Tokens. There is SBF and Archipelago Specific data that can be exposed as Drupal [tokens] to the Drupal Ecosystem. This issue will just open the door to those and mention the most basic ones:

These are the ones I can see right now may be useful and I would focus on a first pass only on the ones marked in bold because the second one can really give us already a lot of flexibility

I like how webforms uses Tokens so a good way of integrating this also in our Twig Templates.

@pcambra more ideas? What do you think?

giancarlobi commented 3 years ago

@DiegoPino That would be great! If I'm right, token can be also used in Views Twig rewrite, right? Thanks for this @pcambra