Commit 49f5e5de authored by catch's avatar catch
Browse files

Issue #3260173 by andregp, joachim, tstoeckler, nod_: Media should set the...

Issue #3260173 by andregp, joachim, tstoeckler, nod_: Media should set the owner field to anonymous if no explicit owner is set

(cherry picked from commit 7aa35b3f)
parent 02653c1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -454,6 +454,7 @@ 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', [