Provide Link templates for entity types integrated with Layout Builder

Created on 12 March 2024, 10 months ago

Problem/Motivation

Layout Builder generates a new route for certain entity types.
However, that route is not being added as a link template in the entity type definition as part of layout_builder_entity_type_alter().

This makes harder to identify the routes and does not allow to use the $entity->toUrl() method to build the LB URL

Steps to reproduce

Proposed resolution

Follow a similar approach as the one in content_translation_entity_type_alter() and define the entity type link for the LB URL.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Closed: won't fix

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated 4 days ago

Created by

πŸ‡ͺπŸ‡ΈSpain plopesc Valladolid

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

Comments & Activities

Production build 0.71.5 2024