diff --git a/core/lib/Drupal/Core/Entity/ContentEntityBase.php b/core/lib/Drupal/Core/Entity/ContentEntityBase.php index 357db02..9fd1d99 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php @@ -1131,6 +1131,9 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { if ($entity_type->hasKey('uuid')) { $fields[$entity_type->getKey('uuid')] = BaseFieldDefinition::create('uuid') ->setLabel(new TranslatableMarkup('UUID')) + ->setDisplayOptions('view', [ + 'type' => 'hidden', + ]) ->setReadOnly(TRUE); } if ($entity_type->hasKey('revision')) {