Template files inside rocketship paragraphs aren't compatible with D9

Created on 25 May 2023, over 1 year ago
Updated 29 May 2023, over 1 year ago

The twig replace function has changed and expects an array instead of a string in Drupal 9.

|replace('_', '-')

Should become

|replace({'_': '-'})

Patch from a RS3 issue works: https://www.drupal.org/files/issues/2021-01-29/rocketship_paragraphs-tem... β†’

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium thierry.beeckmans

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

Comments & Activities

Production build 0.71.5 2024