Problem/Motivation

As of Drupal 11.3, core has the ability to export default content (i.e., for creating recipes). Its API is pretty robust, and extensible, and we need to integrate with it. For crops, that means two things:

  • The entity that the crop references, if it's a content entity, needs to be marked as a dependency of the crop.
  • The entity_id field has to be converted to a UUID upon export, and then resolved back to a serial ID upon import.

Issue fork crop-3555986

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 » Needs review

Wrote a passing test. I think, if this passes muster with manual testing, I'd be glad to commit and release it.

phenaproxima’s picture

Status: Needs review » Fixed

Merged into 8.x-2.x.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • phenaproxima committed 2f1c87cc on 8.x-2.x
    feat: #3555986 Integrate with core's default content exporter
    
    By: @...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.