-
D34dMan →
committed 5a20562b on 3283326-token-support authored by
SolimanHarkas →
Issue #3283326: Remove unnecessary weight
-
D34dMan →
committed 5a20562b on 3283326-token-support authored by
SolimanHarkas →
-
D34dMan →
committed 78703c18 on 3283326-token-support authored by
SolimanHarkas →
Issue #3283326: Token Support
-
D34dMan →
committed 78703c18 on 3283326-token-support authored by
SolimanHarkas →
- @d34dman opened merge request.
- Status changed to Needs work
about 1 year ago 2:33pm 14 November 2023 - 🇩🇪Germany D34dMan Hamburg
This needs work. We need to recognise tokens that can be present in string and provide replacements while it is rendered. This maybe already taken care by the translation system, we need to check that.
- Status changed to Closed: won't fix
11 months ago 11:24am 28 January 2024 - 🇩🇪Germany D34dMan Hamburg
Not going to pursue this any further for now. Token support needs the parameter to be injected in the source as follows,
Ref: https://www.drupal.org/documentation/modules/token →
$node = node_load(10); $message = token_replace($unprocessed_message, array('node' => $node))
This goes against the DX planned for the module where the format on how the strings are consumed in source code shouldn't change much.