Skip to content

Commit

Permalink
Made external embed thumbnail field required
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-deer committed Jun 6, 2024
1 parent bbd454b commit 26354a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mukurtu_media/src/Entity/ExternalEmbed.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static function bundleFieldDefinitions(EntityTypeInterface $entity_type,
'target_type' => 'file'
])
->setCardinality(1)
->setRequired(FALSE)
->setRequired(TRUE)
->setRevisionable(TRUE)
->setTranslatable(TRUE)
->setDisplayConfigurable('view', TRUE)
Expand Down

0 comments on commit 26354a6

Please sign in to comment.