Followup after #2143263: Remove "Field" prefix from FieldDefinitionInterface methods, and postponed on it.
WidgetBase & FormatterBase also have getSetting[s]() methods to "access own settings", this would be consistent.
| Comment | File | Size | Author |
|---|---|---|---|
| #28 | get-field-setting-left-over-2152825-28.patch | 851 bytes | berdir |
| #25 | remove_field_prefix-2152825-25.patch | 22.66 KB | swentel |
| #24 | remove_field_prefix-2152825-24.patch | 22.65 KB | berdir |
| #22 | remove_field_prefix-2152825-22.patch | 22.65 KB | plopesc |
| #22 | intediff.txt | 1.13 KB | plopesc |
Comments
Comment #1
yched commentedAlso, we might consider adding similar methods at the level of FieldItemList ?
Comment #2
plopescShould FieldItemBase::getFieldDefiniton also renamed to getDefinition()?
Comment #3
amateescu commentedNot sure about this, since we have a FieldDefinitionInterface I think it makes sense to "getFieldDefiniton"..
Comment #4
plopescFirst approach, only renaming methods described in issue summary. Waiting for definitive decission about #1.
Regards.
Comment #5
yched commented4: remove_field_prefix-2152825-4.patch queued for re-testing.
Comment #6
yched commentedre #1, "adding getFieldSetting[s]() methods on FieldItemList" - yes, I'd think we want to do this...
Comment #7
yched commentedtagging
Comment #9
plopescRe-rolling and addressing suggestion in #1.
Regards.
Comment #10
yched commentedLooks good. Thanks @plopesc !
Comment #11
yched commented9: remove_field_prefix-2152825-9.patch queued for re-testing.
Comment #13
plopesc9: remove_field_prefix-2152825-9.patch queued for re-testing.
Comment #14
plopescBack to RTBC, testbot random fails...
Comment #15
xjm9: remove_field_prefix-2152825-9.patch queued for re-testing.
Comment #16
catchLast test on this failed but never got reported back https://qa.drupal.org/pifr/test/689243
Comment #17
plopescStraight re-roll
Comment #18
yched commentedThanks @plopesc
Comment #20
plopesc17: remove_field_prefix-2152825-17.patch queued for re-testing.
Comment #22
plopescRe-rolling after #2015689: Convert field type to typed data plugin for options module
Comment #23
webchickNo longer applies, sorry.
Comment #24
berdirRe-roll.
Comment #25
swentel commentedrerolled
Comment #26
xjmLooks like https://drupal.org/node/1805846 will need an update when this goes in.
Comment #27
catchCommitted/pushed to 8.x, thanks!
Fixed one line in the change notice that needed updating, I think that's it so moving direct to fixed.
Comment #28
berdirUh oh, #2002168: Convert form validation of terms to entity validation introduced a new call to getFieldSetting() that we missed here, HEAD is going to fail due to this.
Comment #29
alexpottYep this fixes the HEAD errors.
Committed 60d7878 and pushed to 8.x. Thanks!