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.
Anybody interested to have the field-collection field delta as token?
Comment | File | Size | Author |
---|---|---|---|
#2 | field_collection-token-delta-2681291-1.patch | 1 KB | osopolar |
|
Comments
Comment #2
osopolarI modified the field-collection module. Later I realized that it also could be done in a custom module, and as I need delta + 1, I finally implemented it there. If anybody is interested in that, here comes the patch and also the code for the custom module.
Comment #3
Chris Matthews CreditAttribution: Chris Matthews commentedThe patch in #2 is 3 years old, but still applied cleanly to the latest 7.x-1.x-dev and is valuable to have delta value available as a token so after reviewing/testing I'm changing the status to RTBC.
Comment #5
ram4nd CreditAttribution: ram4nd as a volunteer commented