Make profile label work with tokens and expose them in the UI

Created on 8 August 2017, over 7 years ago
Updated 13 February 2024, 9 months ago

It would be great to have the label exposed in the UI via a token. So one can set the label to use any fields value.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany bbuchert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States RyanCMcConnell

    I see it's been two years---I tried using the patch, the auto entity label module, and the event subscriber, but this no longer works. The labels show up as blanks and I can't seem to change them at all. This is driving me nuts--my users are seeing ID numbers when they should be seeing more useful information to select an address book.

  • First commit to issue fork.
  • Pipeline finished with Success
    about 1 month ago
    Total: 241s
    #317734
  • πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

    The version of the patch in the merge request avoids trying to update existing labels. Instead, it allows the stored labels to stay blank, and keeps exactly the same behavior as before if that is the case. Now that we have a label base field where labels can be stored, however, this module can now be used with Auto Entity Label, which i think should be the main goal of this issue.

    https://www.drupal.org/project/auto_entitylabel β†’

    There is not a need for this module to provide its own UI for altering the label pattern when Auto Entity Label exists.

    With this merge request the only thing happening in the update hook is the necessary addition of the label field to the profile entity base, so there is no longer a risk of errors or timeouts when the update hook is run. Also, if people do not run the update hook right away, everything continues to work.

Production build 0.71.5 2024