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 can only be attached to a single entity type, \Drupal\field\FieldInterface::getBundles()
no longer needs to be a nested array, as it will only return the bundles for a single entity type anyway.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2119471-3.patch | 586 bytes | amateescu |
#2 | 2119471-2.patch | 1.39 KB | swentel |
Comments
Comment #1
swentel CreditAttribution: swentel commentedI think it's only the comment that needs to be updated, it now only returns an array of bundles iirc.
Comment #2
swentel CreditAttribution: swentel commentedI think this should be fine
Comment #3
amateescu CreditAttribution: amateescu commentedI believe you meant this, and yes, it's the documentation that we need to fix here.
Comment #5
amateescu CreditAttribution: amateescu commented3: 2119471-3.patch queued for re-testing.
Comment #6
swentel CreditAttribution: swentel commentedBack to RTBC then ?
Comment #7
webchickCommitted and pushed to 8.x. Thanks!