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.
I've discovered that the functionality in Drupal 6 CCK Text fields to populate select list values from a PHP snippet seems to have been removed in the fields list implementation in Drupal 7. Any idea of how to regain this functionality in Drupal 7?
Comments
Comment #1
droplet CreditAttribution: droplet commentedNo way now :( maybe supported by CCK D7 or others new modules soon.
It seems to late to add a new feature to D7 core.
Comment #2
yched CreditAttribution: yched commentedThe 'List' field types still support that, but the UI for this was intentionally left out for contrib to handle.
CCK D7 has code to support the UI - although it hasn't been touched in a while and is probably somewhat stale right now.
#788692: Allowed value and default value settings are not properly saved has a patch fixing some issues, but no-one found the time to review it yet :-/.
As far as core is involved, this is a "won't fix"
Comment #3
yched CreditAttribution: yched commentedComment #4
kenorb CreditAttribution: kenorb commentedIt's now part of CCK D7 module.