Snippet Manager config entities support

Created on 21 September 2023, 9 months ago
Updated 20 October 2023, 8 months ago

Problem/Motivation

Support Snippet Manager module (snippet_manager) config entities import/export

Steps to reproduce

To have snippet_manager installed.

✨ Feature request
Status

Closed: works as designed

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine yugro Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • 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 8 months ago
  • πŸ‡ΊπŸ‡¦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!

Production build 0.69.0 2024