Problem/Motivation

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.

Proposed resolution

Consider making a special exception for the workspace field, and allow it to be exported despite being internal.

Comments

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Issue summary: View changes
andypost’s picture

phenaproxima’s picture

The 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