- π¨π¦Canada spotzero
Here's the rerolled patch which combines the fixes from 9 and 10.
I really like this functionality, but I agree it's different enough where there is a benefit of putting it in it's own module, if only to seperate the logic. I've started looking through the patch to either clean it up or spin into it's own module.
- π¨π¦Canada nickdjm
Just to give an update to this issue:
The current patch in #11 does not work. I have a fix that I will be posting shortly in a MR with the updated drush command syntax.
As for this issue as a whole, we will be splitting this out into a sub module. This functionality is super useful and we don't want it to live as a "forever patch", however the code written in the patch needs a lot of work. At a bare minimum it does not meet the Drupal coding standards, nor is it documented sufficiently.
Once we have a MR open for this, it will be kept alive while we work on a new branch with cleaned up code. The first goal will be to allow exporting of what MDC can already handle (basically removing the layout builder functionality for now), then we will be reducing the number of drush commands to a single command that allows users to pass options to it for what entities/bundles they want. Once this is functional we will implement the Layout Builder functionality.
I'd also like to give a big thanks to everyone who has contributed to this issue so far. We use this patch constantly. It's time to see it implemented officially.
- Merge request !7Draft: DO NOT MERGE - migrate export feature reference β (Open) created by nickdjm
- π¨π¦Canada nickdjm
Ok MR has been created and everything is working about in D10.2.2.
The next steps will be to refactor this into something we can split out properly into a submodule: migrate_default_content_export
First will be to get basic entities working (nodes, blocks, terms, etc.) with no layout builder functionality. Once this is done, we'll look at the layout builder stuff.
- Assigned to nickdjm
- π¨π¦Canada nickdjm
Updating the issue to point to the version of MDC that the MR applies to.
- π¨π¦Canada nickdjm
An update on this: me rerolling the patch and fixing the drush commands didn't work. There's some other weirdness going on with layout builder I think.
That being said, I have a branch off the main module where I am implementing this as it's own module.
On my testing site I have it working. It exports content in all languages and puts them into yaml files as expected. I still need to test it out on other sites (and get layout builder support in), but it looks promising.
I have added filters so you can include/exclude entities, bundles, and ids.
- Status changed to Fixed
11 months ago 6:55pm 1 February 2024 - π¨π¦Canada nickdjm
This feature has been rolled into 3.0.0-alpha0. Please use that version of the module for the ability to export content.
We will keep track of any other issues related to this (since I'm sure there will be some) in their own issues.
As for this issue, I consider it fixed.
Automatically closed - issue fixed for 2 weeks with no activity.
- πΊπΈUnited States lhridley
What happened to the Layout Builder data? Looks like it was removed at some point. Where is the open issue in the issue queue where this is being included. If it is in another contrib module or a submodule, where can that project be found?
- π¨π¦Canada nickdjm
This feature can be found in v3 of this module (which is still in alpha). It's included in a sub-module called Migrate Default Content Export.