Skip to content
Snippets Groups Projects
Commit 4e164148 authored by Bat Kor's avatar Bat Kor Committed by Markus Kalkbrenner
Browse files

Issue #3282634: default-content-deploy:export-with-references not working

parent 9c1d5d39
Branches
Tags
1 merge request!2Issue #3282634: default-content-deploy:export-with-references not working
......@@ -609,11 +609,7 @@ class Exporter {
// Serialize all entities and key them by entity TYPE and uuid.
foreach ($entities as $referenced_entity) {
$serialize = $this->serializer->serialize($entity, 'hal_json', [
'json_encode_options' => JSON_PRETTY_PRINT,
]);
$serialized_entities[$entity->getEntityTypeId()][$entity->uuid()] = $this->getSerializedContent($referenced_entity);
$serialized_entities[$referenced_entity->getEntityTypeId()][$referenced_entity->uuid()] = $this->getSerializedContent($referenced_entity);
}
return $serialized_entities;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment