Remove deprecated Drupal\Core\StringTranslation\TranslationWrapper to TranslatableMarkup in Drupal 11

Created on 11 March 2022, over 2 years ago
Updated 8 April 2024, 7 months ago

Problem/Motivation

In #2569069: Replace TranslationWrapper with TranslatableString and deprecate TranslationWrapper we replaced TranslationWrapper with TranslatableMarkup. However, attempting to remove the deprecated TranslationWrapper revealed there are still class references serialized in core database dumps, so it is very likely there are references in databases in the wild as well. Therefore we could not simply remove the class in Drupal 10. So we did #3295421: Update TranslationWrapper deprecation to removal in 11.0.0 .

Steps to reproduce

Proposed resolution

Revisit this in Drupal 11.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Base 

Last updated about 7 hours ago

Created by

🇬🇧United Kingdom longwave UK

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

Merge Requests

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