Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity_reference.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2013 at 15:53 UTC
Updated:
29 Jul 2014 at 22:37 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidComment #2
dave reidCorresponding contrib module issue: #2035699: Unable to select the 'Default' view mode in the field formatter
Comment #3
amateescu commentedAgreed :)
Comment #4
olli commentedDo you think we should make 'Default' view mode available also in custom blocks, views entity area and row plugins (in follow-ups)?
I'm not sure if this would be more readable as:
Comment #5
alexpottCommitted 6023052 and pushed to 8.x. Thanks!
Comment #7
olli commentedFiled #2057199: Unable to select the 'Default' view mode for custom block, #2057203: Unable to select the 'Default' view mode in views entity area handler and #2057207: Unable to select the 'Default' view mode in views entity row plugin.
Comment #8
dave reidI'm starting to wonder if entity_get_view_modes() should always include a 'default' => array('label' => t('Default')) in it's return value...
Comment #9
olli commentedHmm. Found this saying:
Also: the default value for view mode is "full" here, but not all entity types have it.
So instead of providing the 'Default', what about providing the 'Full'? Or should we just change the docs by removing "is not intended for actual entity display, but" and maybe change the default value from "full" to "default"?
Comment #10
dave reidThat documentation is in my opinion, wrong. Default view mode is perfectly valid for display.