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.
If I restrict all but one view mode I still get a select field with one option.
It would be better to hide the field in this case.
Comments
Comment #1
rooby CreditAttribution: rooby commentedComment #2
Dave ReidThis is a duplicate of #2261509: Hide WYSIWYG view mode field if there is only one option.
Comment #3
Dave ReidSorry, meant to say #2390081: Hide select display mode if only 1 option available on media add popup