Any plans on porting this project to Drupal 8 ?

CommentFileSizeAuthor
#3 field-default-token-d8.patch30.65 KBtstoeckler
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darol100 created an issue. See original summary.

darol100’s picture

Title: [meta] Field default token » [meta] Field default token D8 port
tstoeckler’s picture

Category: Support request » Task
Status: Active » Needs review
FileSize
30.65 KB

I'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!

maxilein’s picture

Thanks!
I will start testing it during this week.

stefan.r’s picture

@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

stefan.r’s picture

Status: Needs review » Reviewed & tested by the community

Marking RTBC so maintainer can have a look at this

maxilein’s picture

@stefan: I am not. Waiting like you.

maximpodorov’s picture

OK, let's create a new branch for it.

maximpodorov’s picture

New branch and development release have been created.

webcultist’s picture

Thanks 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?

maximpodorov’s picture

Status: Reviewed & tested by the community » Fixed

This issue is to create a new D8 release. The bugs should be fixed in another issues.

maxilein’s picture

thanks for creating the dev release!

tstoeckler’s picture

Yay, 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...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.