Closed (fixed)
Project:
Seeds Layouts
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2026 at 09:57 UTC
Updated:
12 Jul 2026 at 13:20 UTC
Jump to comment: Most recent
Layout Builder only exposes its Layout local task on the default (original) translation of an entity.
/ar/node/1/edit) — the Layout tab is gone.Implement hook_menu_local_tasks_alter() to keep the Layout local task visible on non-default translations, pointing it at the layout page of the original language.
…layout_builder.overrides.<entity_type_id>.view).layout_builder.overrides.<type>.view with the original language, so clicking Layout redirects the editor to the original-language layout page.overrides section storage with the untranslated entity (rather than Url::access(), which re-loads the entity in the active content language and is always denied). This preserves the user's real layout permissions.languages:language_content and user.permissions, plus the access result and entity as cacheable dependencies.The Layout local task (and therefore the Seeds Toolbar entry) is now shown on translations for users who have permission to configure the layout. Selecting it navigates to the original-language layout page. No change on the default language.
Comments
Comment #3
ahmad-alyasaki commented