Active
Project:
Default Content
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2024 at 18:44 UTC
Updated:
26 Jul 2025 at 00:24 UTC
Jump to comment: Most recent
If you're using Workspaces, an entity's workspace field will not be exported. This kind of sucks, because it's impossible to export a set of content in a workspace, or across a set of workspaces.
The reason the field is skipped is because the workspace field is internal, and \Drupal\Core\TypedData\TypedDataInternalPropertiesHelper::getNonInternalProperties() specifically skips internal properties.
Consider making a special exception for the workspace field, and allow it to be exported despite being internal.
Comments
Comment #2
phenaproximaComment #3
andypostComment #4
phenaproximaThe default content exporter added to core 11.3.0 explicitly supports workspaces, both for import and export, and will preserve workspace relationships. I would suggest closing this in favor of using the core system: https://www.drupal.org/node/3533854