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.
I cant change a view mode in any Custom Block.
-Created Custom Block
-Created Custom view mode for this specific Custom Block type
-Tried to change the view mode of this newly created Custom Block and saved, no errors
-Went back to the just updated block and nothings changed
Comment | File | Size | Author |
---|---|---|---|
#10 | custom_block_view_mode-2099417-10.patch | 2.94 KB | marthinal |
#10 | interdiff-2099417-9-10.txt | 1.62 KB | marthinal |
#9 | custom_block_view_mode-2099417-9.patch | 2.94 KB | lauriii |
#7 | custom_block_view_mode-2099417-7.patch | 2.94 KB | marthinal |
#3 | custom_block_view_mode_test-2099417-3.patch | 2.13 KB | marthinal |
Comments
Comment #1
larowlanSounds like we're missing some tests here
Comment #2
swentel CreditAttribution: swentel commentedThis should fix it - not tests yet, not sure if I can get to it by next week, so someone else can take over freely
Comment #3
marthinal CreditAttribution: marthinal commentedI did the patch adding a test view mode and selecting the value to then determine if selected.
The first one is the test and the second test+ patch.
Comment #4
larowlanI think these ids have changed now, will re-test - otherwise rtbc
Comment #5
larowlan#3: custom_block_view_mode-2099417-3.patch queued for re-testing.
Comment #7
marthinal CreditAttribution: marthinal commentedPatch + test again with id modification
Comment #8
swentel CreditAttribution: swentel commentedTypo: 'seleted'
No need to wrap 'View mode' between quotes, just write 'Add a new view mode ...'
Same here
Comment #9
lauriiiFixed comments
Comment #10
marthinal CreditAttribution: marthinal commentedFixed #8 point 2.
Comment #11
swentel CreditAttribution: swentel commentedGreat, thanks!
Comment #12
catchCommitted/pushed to 8.x, thanks!