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.
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff.txt | 2.85 KB | plopesc |
#5 | rename_field_forbid-2201087-5.patch | 8.81 KB | plopesc |
Comments
Comment #1
plopescComment #2
plopescRenaming hook and also
FieldUpdateForbiddenException
toFieldConfigUpdateForbiddenException
Comment #3
yched CreditAttribution: yched commentedThanks @plopesc.
While we're in there, we should add typehints to the params of hook_field_config_update_forbid() (phpdoc + example + implementations)
This being said, those would be hints on the interfaces, meaning it's going to clash with #2200821: Rename Fieldinterface and FieldInstanceInterface.
#2200821: Rename Fieldinterface and FieldInstanceInterface has a larger surface for conflicts / rerolls, so it might be best to get it in first, and then add the new interface names here ?
Comment #4
plopescPostponing on #2200821: Rename Fieldinterface and FieldInstanceInterface
Comment #5
plopescNew patch addressing suggestions in #3 once #2200821: Rename Fieldinterface and FieldInstanceInterface is in!
Comment #6
yched CreditAttribution: yched commentedLooks good, thanks !
We'll now need a draft change notice before it can move to RTBC though.
Comment #8
plopesc5: rename_field_forbid-2201087-5.patch queued for re-testing.
Comment #9
plopescHere is the change record draft: hook_field_update_forbid() and FieldUpdateForbiddenException renamed to hook_field_config_update_forbid() and FieldConfigUpdateForbiddenException
Comment #10
yched CreditAttribution: yched commentedThanks! Streamlined the change notice a bit.
This should be good if green.
Comment #12
YesCT CreditAttribution: YesCT commentedI cancelled that test and then sent it for a retest.
Comment #13
swentel CreditAttribution: swentel commented5: rename_field_forbid-2201087-5.patch queued for re-testing.
Comment #14
swentel CreditAttribution: swentel commentedShould still be good - let's hope it doesn't run for 14 days again :)
Comment #15
webchickCommitted and pushed to 8.x. Thanks!