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.
In lieu of being able to control the entity form using layouts, add an option at on the field to control whether it is displayed in the sidebar or the main column.
Comment | File | Size | Author |
---|---|---|---|
#8 | metatag-n2844696-8.patch | 3 KB | DamienMcKenna |
| |||
#8 | metatag-n2844696-8.interdiff.txt | 1.5 KB | DamienMcKenna |
Comments
Comment #2
MichelleI added the option to the field widget:
It defaults to checked so it continues with standard behavior by default. If unchecked, the field goes with the other fields in the main area:
Comment #4
DamienMcKennaLet's add some test coverage too.
Comment #5
DamienMcKennaThis is the error that's causing all of the test failures:
Comment #6
DamienMcKennaI wonder does this cover it?
Comment #7
DamienMcKennaNice.
So now just need to add some test coverage.
Comment #8
DamienMcKennaMoving the test coverage to #3114960: Add test coverage for the field widget sidebar option.
A minor polish on the changes.
Comment #10
DamienMcKennaCommitted. Thank you Michelle!