Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be nice if global tokens (such as [site:name], [current-date], etc) become replaced by Rewrite plugin.
Also we need a token tree on rewrite plugin config form to inform which tokens are available to replace.
Comment | File | Size | Author |
---|---|---|---|
#1 | added_global_tokens_support-1744032-1.patch | 679 bytes | PatchRanger |
Comments
Comment #1
PatchRanger CreditAttribution: PatchRanger commentedHere you are a patch.
Please review.
Comment #2
JGReidy CreditAttribution: JGReidy commentedI was not able to get this patch to download/install with drush make:
projects[feeds_tamper][version] = "1.0-beta4"
projects[feeds_tamper][patch][] = "http://drupal.org/files/added_global_tokens_support-1744032-1.patch"
nor
projects[feeds_tamper][version] = "1.0-beta4"
projects[feeds_tamper][patch][] = "https://drupal.org/files/added_global_tokens_support-1744032-1.patch"
Did I get the drush make syntax wrong?
Comment #3
JGReidy CreditAttribution: JGReidy commentedduh - NOW I see the patch if for Drupal 7 . Sorry.
Comment #5
HeathN CreditAttribution: HeathN commented#1: added_global_tokens_support-1744032-1.patch queued for re-testing.
Comment #7
HeathN CreditAttribution: HeathN commentedI applied this patch on my local dev and it succeeded.
Comment #8
michel.settembrino CreditAttribution: michel.settembrino commentedI would like to have global tokens support into the plugin "Set default value".
Comment #9
twistor CreditAttribution: twistor commentedDoes not apply.