Content Translation Overview Controller - make overview table easier to extend

Created on 6 August 2021, over 3 years ago
Updated 18 February 2023, over 1 year ago

Problem/Motivation

I want to override the default Content Translation Overview Controller (Drupal\content_translation\Controller\ContentTranslationController, specifically the overview() method), e.g. /en/node/123/translations, for one of my entity types - I just want to alter the values in one of the columns. Ideally, I would just be able extend the class, call `$parent::overview()` and then alter the values.

The problem I'm having is that the rows and the columns within the rows all have numeric keys. This makes it near impossible for me to determine which language the row is representing and then which column is which.

Proposed resolution

Add the langcode as the row's key and add an appropriate key for each column within a row.

✨ Feature request
Status

Closed: duplicate

Version

9.5

Component
Content translationΒ  β†’

Last updated 3 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States sonfd Portland, ME

Live updates comments and jobs are added and updated live.
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.71.5 2024