Fix deprecated Twig code, if condition inside the for loop

Created on 11 September 2024, 3 months ago

Problem/Motivation

Preparing the my site for Drupal 10, upgrade status reported deprecation in Twig code as regards using an if condition on for tags which is deprecated since Twig 2.10.0.

The issue was reported in the file, themes\contrib\startup_zymphonies_theme\templates\dataset\forum-list.html.twig

Proposed resolution

I am submitting this fix.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇳🇬Nigeria chike Nigeria

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024