Adopt RendererInterface::renderInIsolation() instead of renderPlain()

Created on 19 May 2025, 7 days ago

Problem

We need to move to using renderInIsolation() instead of renderPlain().

Major - Call to deprecated method renderPlain() of class Drupal\Core\Render\Renderer: in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Render\RendererInterface::renderInIsolation() instead.
in tests/src/TestHelperTrait.php (in context of class Drupal/Tests/custom_elements/Functional/CustomElementsRenderMarkupTest):39

see https://www.drupal.org/node/3407994

Proposed resolution

Use deprecation-helpere to maintain BC.

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇦🇹Austria fago Vienna

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

Comments & Activities

Production build 0.71.5 2024