Problem/Motivation

- Support translation import/export for layout in custom block.

Steps to reproduce

- Create a new custom block type.
- Enable layout builder on the custom block type
- Enable content translation
- Add a custom block for the new block type.
- Filled out all the required field.
- Now click on the layout tab and add new blocks.
- Save the layout builder content
- Click on translate
- Check languages and click request translation
- Throws an error saying the node id can't loaded.

Proposed resolution

- Make the code use entity vs the specific bundle type "node".

Remaining tasks

- Convert the code base to use entities instead of node.

User interface changes

- None.

API changes

- None.

Data model changes

- None

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

johnle created an issue. See original summary.

johnle’s picture

StatusFileSize
new6.12 KB

Added patch to allow entity translation instead of using the node.

  • johnle committed 2faf006e on 1.x
    Resolve #3359212 "Allow block layout"
    
johnle’s picture

Status: Active » Fixed

Code has been tested and merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.