3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Render data stream entities in the default view mode.

This commit is contained in:
paul121 2021-05-27 09:08:44 -07:00 committed by Michael Stenta
parent 9fa7c4a9e4
commit 1a10fbf276

View file

@ -421,9 +421,10 @@ class FarmFieldFactory implements FarmFieldFactoryInterface {
];
$view_display_options = [
'label' => 'inline',
'type' => 'entity_reference_label',
'type' => 'entity_reference_entity_view',
'weight' => $options['weight']['view'] ?? 0,
'settings' => [
'view_mode' => 'default',
'link' => TRUE,
],
];