summaryrefslogtreecommitdiffstats
path: root/core/modules/media/src/Entity/Media.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/media/src/Entity/Media.php')
-rw-r--r--core/modules/media/src/Entity/Media.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/modules/media/src/Entity/Media.php b/core/modules/media/src/Entity/Media.php
index 49f7283..dc8e0dc 100644
--- a/core/modules/media/src/Entity/Media.php
+++ b/core/modules/media/src/Entity/Media.php
@@ -404,12 +404,7 @@ class Media extends EditorialContentEntityBase implements MediaInterface {
'weight' => -5,
])
->setDisplayConfigurable('form', TRUE)
- ->setDisplayConfigurable('view', TRUE)
- ->setDisplayOptions('view', [
- 'label' => 'hidden',
- 'type' => 'string',
- 'weight' => -5,
- ]);
+ ->setDisplayConfigurable('view', TRUE);
$fields['thumbnail'] = BaseFieldDefinition::create('image')
->setLabel(t('Thumbnail'))