auto_entitylabel is a module which provides functionality to automatically label entities using tokens.

We can add a link to the Auto Entity Label administrative form through each ECK bundle admin interface using daggerhart's solution here: https://www.drupal.org/node/2829571#comment-12159400

Comments

caldenjacobs created an issue. See original summary.

caldenjacobs’s picture

See attached patch for latest dev release of ECK.

Status: Needs review » Needs work
caldenjacobs’s picture

Status: Needs work » Needs review

Updated the path to eck.module in the patch

caldenjacobs’s picture

Upload patch with changes from #4.

caldenjacobs’s picture

Hiding patch included in #2 as the path wasn't proper. Please test the patch from #5.

caldenjacobs’s picture

StatusFileSize
new1.02 KB

Corrected the path argument to show the appropriate ECK entity bundle in the Token browser

OnkelTem’s picture

Status: Needs review » Needs work

Thanks for the patch.
Unfortunately it doesn't work for me.
Automatic label tab has appeared on ECK entity bundle edit type page and I see the entity token now in the list of tokens, but
1) Label field still appears on forms despite I selected "Automatically generate the label and hide the label field"
2) It is required and I can't save it w/o entering some value
3) When value is entered it's not overwritten by Automatic entity labels.

OnkelTem’s picture

Status: Needs work » Reviewed & tested by the community

Ok, I figured out the reason. It was a bug in Auto Entity Labels.
Details: https://www.drupal.org/project/auto_entitylabel/issues/2923876

So now it works.

Thank you Christian!

kclarkson’s picture

@onkelTem,

thanks for your post. In order for it to work I also needed the patch from https://www.drupal.org/project/auto_entitylabel/issues/2923876

Status: Reviewed & tested by the community » Needs work
pifagor’s picture

Status: Needs work » Needs review
StatusFileSize
new1.06 KB

Status: Needs review » Needs work

The last submitted patch, 12: eck-Add-support-to-eck-for-auto_entitylabel-2905426-12-D8.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

vladbo’s picture

I think it's better to use route parameters here.

vladbo’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 14: eck-Add-support-to-eck-for-auto_entitylabel-2905426-14-D8.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

dieterholvoet’s picture

Version: 8.x-1.x-dev » 2.x-dev
dieterholvoet’s picture

Status: Needs work » Closed (works as designed)

I just tested the module and it seems to work with ECK entities out-of-the-box.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.