Problem/Motivation

Core is about to add a default content export system: #3532694: Add a command-line utility to export content in YAML format

It is extensible and modules can integrate with it by means of an event. ERR should integrate with this new system.

Proposed resolution

ERR should subscribe to the new PreExportEvent and set up a callback for ERR field items, ensuring that all properties are exported just as they would be by Default Content.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Status: Active » Postponed
Related issues: +#3532694: Add a command-line utility to export content in YAML format
phenaproxima’s picture

Title: [PP-1] Integrate with core's default content exporter » Integrate with core's default content exporter
Status: Postponed » Active

Core blocker is in!

phenaproxima’s picture

Status: Active » Needs review

Added an event subscriber to do for the core API what Default Content 2.x does here: https://git.drupalcode.org/project/default_content/-/blob/2.0.x/src/Norm...

berdir’s picture

Status: Needs review » Needs work

claudiu.cristea made their first commit to this issue’s fork.

claudiu.cristea’s picture

Status: Needs work » Needs review

Addressed the review

herved made their first commit to this issue’s fork.

herved’s picture

I implemented the inline approach berdir suggested, in a new MR since it's quite different, though it's inspired by MR !69.