From b417810b628e99ef34934c2ce507d69d07955eb2 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Thu, 17 Nov 2022 16:35:12 +0000
Subject: [PATCH] Revert "Issue #3260173 by andregp, joachim, tstoeckler, nod_:
 Media should set the owner field to anonymous if no explicit owner is set"

This reverts commit 7aa35b3fec222a5a9b006a0be6767cdedc05653f.

(cherry picked from commit 6415ee9b7a3467983787d02f8434832323753c07)
---
 core/modules/media/src/Entity/Media.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/modules/media/src/Entity/Media.php b/core/modules/media/src/Entity/Media.php
index 415b19cc88c8..e4e0cab0623b 100644
--- a/core/modules/media/src/Entity/Media.php
+++ b/core/modules/media/src/Entity/Media.php
@@ -458,7 +458,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
 
     $fields['uid']
       ->setLabel(t('Authored by'))
-      ->setRequired(TRUE)
       ->setDescription(t('The user ID of the author.'))
       ->setRevisionable(TRUE)
       ->setDisplayOptions('form', [
-- 
GitLab