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.
This is exactly the same as #3105925: The description of the arguments for FieldDefinition::setDisplayOptions() conflicts with what reported in FieldDefinitionInterface::getDisplayOptions(), but for BaseFieldDefintion instead of FieldDefinition. The docblock of BaseFieldDefinition::setDisplayOptions wasn't updated either in #2796581: Fields must store their region in entity displays, so it still mentions setting type='hidden' instead of region='hidden'.
Comment | File | Size | Author |
---|---|---|---|
#13 | 3188327-13.patch | 933 bytes | longwave |
#9 | 3188327-9.patch | 826 bytes | ravi.shankar |
#6 | Screenshot from 2022-01-18 10-19-29.png | 26.22 KB | vikashsoni |
#3 | Screenshot-from-2020-12-16.jpg | 40.29 KB | ranjith_kumar_k_u |
#2 | 3188327-2-basefielddefinition-region-hidden.patch | 818 bytes | DeFr |
Comments
Comment #2
DeFr CreditAttribution: DeFr at Axess Open Web Services commentedComment #3
ranjith_kumar_k_u CreditAttribution: ranjith_kumar_k_u at Zyxware Technologies commentedThe above patch works as expected .it corrects the documentation mistake.
Comment #6
vikashsoni CreditAttribution: vikashsoni as a volunteer and at Zyxware Technologies commentedApplied patch #2 in drupal-9.3.x-dev
Applied successfully and after patch documentation mistake has been updated
Thanks for the Patch
Comment #7
longwaveThank you @DeFr - 'region' is the correct key.
@ranjith_kumar_k_u, @vikashsoni please note there is no need to attach screenshots of patches being applied, the testbot automatically applies patches and will report back if they fail.
Comment #8
quietone CreditAttribution: quietone as a volunteer commentedSorry, the changed line is not wrapped correctly.
Comment #9
ravi.shankar CreditAttribution: ravi.shankar at OpenSense Labs commentedAddressed comment #8.
Comment #11
mjpa CreditAttribution: mjpa commentedLooks good to me, moving this on... 18 months for a documentation fix :(
Comment #12
longwaveStill not wrapped correctly :(
Comment #13
longwaveComment #14
mjpa CreditAttribution: mjpa commentedHow did I miss that... #9 needed work, #13 is good...
Comment #16
catchCommitted/pushed to 10.1.x, cherry-picked back through to 9.4.x, thanks!