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
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
Comment #3
phenaproximaWrote a passing test. I think, if this passes muster with manual testing, I'd be glad to commit and release it.
Comment #4
phenaproximaMerged into 8.x-2.x.