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.
Now fields and instances are config entities #1735118: Convert Field API to CMI
Let's move them to config as #1943468: Move Tags vocabulary to standard profile config
Comment | File | Size | Author |
---|---|---|---|
#8 | 1970206-config-fields-8.patch | 10.01 KB | swentel |
#8 | interdiff.txt | 4.18 KB | swentel |
#1 | 1970206-config-fields-1.patch | 8.99 KB | andypost |
Comments
Comment #1
andypostLet's see what bot say
Comment #2
chx CreditAttribution: chx commentedSuperb CMI demo.
Comment #3
andypostNot sure we have tests for standard profile - so needs confirmation that standard profile installs fine
Comment #4
xjmWe also need to answer the "UUIDs in default config" question in #1969800: Add UUIDs to default configuration for this.
Comment #5
andypostTested manually standard install and it works!
Actually UUIDs currently is hard requirement for field instances...
Comment #6
xjmUUIDs are a hard requirement for active field instances. UUIDs are added automatically to config entities supplied as default config at installation. See the other issue, where various people have expressed concerns about shipping UUIDs in default config.
Comment #7
swentel CreditAttribution: swentel commentedHmm tricky one :) Reference to uuid is the safest imo, however, we do allow in the FieldInstance class to accept an incoming field_name as well, so maybe change that for now and see what the outcome is of the other discussion.
Comment #8
swentel CreditAttribution: swentel commentedThis should work - cleaned up also in tests of field api and I could install standard profile too.
Comment #9
andypostLet's get it in
Comment #10
alexpottCommitted 0cc0335 and pushed to 8.x. Thanks!
Comment #11
alexpottComment #12
Gábor HojtsyWoot, this will properly make them translatable as part of the configuration of the site. Thanks all!