Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Clone Inline Blocks

No security coverage Under active development 102 sites

Part of the Entity ecosystem · 310 projects

This module enhances the functionality of cloning entities that use Layout Builder. When an entity with inline blocks is duplicated, this module ensures that the inline blocks themselves are also duplicated. This prevents changes to an inline block on a cloned entity from affecting the original entity's inline block.

Add Layout Block duplication when cloning nodes

When using `entity_clone` to duplicate an entity with Layout Builder content, references to inline blocks are maintained. This is not the expected user experience since inline block content is usually considered one-off. In other words, if you copy a node with an inline block, you'd expect to get a copy of the inline block on the cloned node. A change to the block on the new node should not affect the block on the original page.

This module duplicates inline block content during the clone, and updates references on the new entity to the newly cloned blocks.

Limitations:
- Non-recursive: if inline blocks contain references to other entities, these are not currently duplicated.

Ask your assistant about Entity Clone Inline Blocks

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Apr 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.0-alpha1 Pre-release 8–9 Apr 18, 2023