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.
Any plans on porting this project to Drupal 8 ?
Comment | File | Size | Author |
---|---|---|---|
#3 | field-default-token-d8.patch | 30.65 KB | tstoeckler |
Comments
Comment #2
darol100 CreditAttribution: darol100 as a volunteer and commentedComment #3
tstoecklerI've ported the module to Drupal 8. The entity reference integration is not yet working because entity reference works a lot differently in D8 than in D7. I hope this is acceptable nonetheless for a first (beta?) version of the module.
The code is also available at https://github.com/tstoeckler/field_default_token , which is partly based on https://github.com/mohit-rocks/field_default_token .
Please review, thanks!
Comment #4
maxilein CreditAttribution: maxilein commentedThanks!
I will start testing it during this week.
Comment #5
stefan.r CreditAttribution: stefan.r commented@maxilein are you the maintainer of the module? I have tried contacting the maintainer @maximpodorov about tagging a Drupal 8 release but haven't heard back yet
Comment #6
stefan.r CreditAttribution: stefan.r commentedMarking RTBC so maintainer can have a look at this
Comment #7
maxilein CreditAttribution: maxilein commented@stefan: I am not. Waiting like you.
Comment #8
maximpodorov CreditAttribution: maximpodorov commentedOK, let's create a new branch for it.
Comment #9
maximpodorov CreditAttribution: maximpodorov commentedNew branch and development release have been created.
Comment #10
webcultist CreditAttribution: webcultist commentedThanks for the port as it is exactly what I needed right now.
I have a problem with the e-mail field in my node type. Would like to set the user e-mail as default value, but it's not possible to use tokens as it validates the value for an @ in the string.
Is this the right issue for this or should it be a new issue? Is there a workaround for this?
Comment #11
maximpodorov CreditAttribution: maximpodorov commentedThis issue is to create a new D8 release. The bugs should be fixed in another issues.
Comment #12
maxilein CreditAttribution: maxilein commentedthanks for creating the dev release!
Comment #13
tstoecklerYay, thanks @maximpodorov that's great news!
@webcultist Thanks for testing, that's an interesting use-case. It seems, though, that that doesn't work in D7 either, see #2790059: Support HTML5 Tools and Elements module. I didn't try it though...