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.
Problem/Motivation
Spun off from #2831274-202: Bring Media entity module to core as Media module, point 1. Reproduced here:
+++ b/core/modules/media/config/install/core.entity_view_mode.media.full.yml
@@ -0,0 +1,9 @@
+label: 'Full content'
Naming is strange but looks separate task
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | new_viewmode_media2.png | 52.02 KB | marcoscano |
#3 | new_viewmode_media1.png | 48.51 KB | marcoscano |
#3 | node_viewmodes.png | 38.34 KB | marcoscano |
#2 | default-view-mode.png | 29.83 KB | yoroy |
Comments
Comment #2
yoroy CreditAttribution: yoroy at Roy Scholten commentedFor regular content types we use "default" as the label for the full display:
Comment #3
marcoscanoRe: #2, I'm not sure about that. Node's full viewmode has also the same label:
And in a clean install you have the list of viewmodes for nodes as:
As soon as you create a new viewmode for media, and enable custom display settings for it:
you'll get the same UI we have for nodes:
So there's no real difference between media and nodes on this aspect. Based on this, should we close this as "works as designed"?
Comment #4
phenaproximaCleaning up the IS a bit.
Comment #5
phenaproximaSorry, one more thing.
Comment #6
yoroy CreditAttribution: yoroy at Roy Scholten commentedYeah my #2 is incorrect. So does this really need changing? "Full media content" ?
Comment #7
seanBI guess this should be consistent with node. So if we want to change it, let's change it for node as well. Not sure about the label. Maybe 'Page' is an alternative, since it is primarily being used for the detail page?
Comment #8
phenaproximaWell, right now, as @seanB points out, Media's full view mode is called "Full content", as is Node's. So if it needs changing, I agree that they should both be changed in this issue, across core. To me, this is not a Media-specific question, so I'm widening the issue's scope and categorization. Maybe we should also remove this from Media's roadmap too (#2825215: Media initiative: Roadmap).
So...the bike shed is open for business! What shall we call the full view mode(s)?
Comment #9
yoroy CreditAttribution: yoroy at Roy Scholten commentedBikeshedding is no fun, lets protect ourselves from wasting time on non productive busywork instead.
I see no reason to change it. Media is content, lets not worry too much about it.
Comment #10
yoroy CreditAttribution: yoroy at Roy Scholten commentedAnd with that… marking as won't fix.
Comment #11
Gábor HojtsyAgreed with @yoroy.