- Issue created by @yugro
- πΊπ¦Ukraine yugro Lutsk
hi all, @nginex,
can you please advise if exporting/importing config entities is possible? We have such entities coming from snippet_manager - module which allows to add html, css, js blocks/pages. We use those to insert in nodes using Layout builder. Thanks. - πΊπ¦Ukraine nginex
Hey @yugro,
Out of the box it's not supported, but you can provide this support by your own. See https://www.drupal.org/docs/contributed-modules/single-content-sync/expo... β
- Status changed to Closed: works as designed
about 1 year ago 8:42pm 20 October 2023 - πΊπ¦Ukraine abramm Lutsk
Hi yugro,
From what I'm seeing, the snippet manager module is using config, and not content entities.
https://git.drupalcode.org/project/snippet_manager/-/blob/2.x/src/Entity...Config entities export/import is managed through Drupal's usual configuration sync.
This module is intended to be used with content entities which are not normally exported or imported with core tools.
As for the snippets inserted in layout, as far as I understand, they should be working as long as both config entity (the snippet itself) and the node (where the snippet is inserted through the layout) are deployed at same time.
I'm going to close this issue as I don't think that config entities are something that's expected to be handled here; feel free to reopen if you think I missed any details.
Thanks!