Problem/Motivation

With Default Content API in core one can now easily import content with a Recipe. This module doesn't integrate well with this workflow as it references media (image/video) by ID, not UUID. The ID of the content in the destination environment can be different than ID in the source environment but UUID remains unchanged hence it makes sense to use the latter.

Steps to reproduce

Export content using default_content module and import with recipe using new Default Contet API in core.

Proposed resolution

Change from using ID to UUID when storing content. This way the reference will be maintained even if content is copied/moved between environments.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3508596-poc.diff7.34 KBzaporylie
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

zaporylie created an issue. See original summary.

zaporylie’s picture

StatusFileSize
new7.34 KB

Attaching POC diff I created at one point for 1.x branch

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

arunsahijpal’s picture

Status: Active » Needs review

Created a MR please check.