Avoid early rendering of links in progress bar

Created on 4 August 2025, 2 months ago

Problem/Motivation

I noticed that the links generated in FormsStepsProgressBarBlock are rendered into markup instead of just returning render arrays. As a result, the title and URL of individual items can not be accessed or modified in hooks or the item-list template.

Proposed resolution

Since early rendering is generally discouraged I would suggest creating link render arrays for each item.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany rob_pr

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