Block language is ignoring when load inline block dependency translation

Created on 9 August 2023, 11 months ago
Updated 21 September 2023, 9 months ago

Problem/Motivation

\Drupal\layout_builder_at\EventSubscriber\SetInlineBlockDependencyWithContextTranslation::getInlineBlockDependency()
allows to load translated inline block dependency.

It works well except the cases when there are changes in language negotiations (the language could be changed by overrides - as a result an "inline block" dependency could be loaded in wrong language).

Steps to reproduce

n/a

Proposed resolution

Use "Inline block" entity language context when loading dependency translation.

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.69.0 2024