Support route parameters for *.config_translation.yml files' base_route_name properties

Created on 11 December 2013, over 10 years ago
Updated 25 June 2021, almost 3 years ago

Updated: Comment #N

Problem/Motivation

*.config_translation.yml files provide a base_route_name property that the Config Translation module uses to attach child routes to and to generate links with. The problem with link generation is that route parameter values cannot be provided. Because of this the name cannot be of a route that has parameters, as Config Translation does not have any replacement values for the route parameters.

Proposed resolution

Add a base_route_parameters property and pass the values on to the URL generator.

Remaining tasks

User interface changes

None.

API changes

None. The policy enforces non-BC-breaking API additions only.

See #2154741: [regression][policy, no patch] Route parameters must be able to be provided along with route names β†’ for the policy issue about this.

πŸ› Bug report
Status

Needs work

Version

9.5

Component
Config translationΒ  β†’

Last updated about 1 month ago

Created by

πŸ‡¬πŸ‡§United Kingdom Xano Southampton

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024