Use a render array to generate image

Created on 5 February 2024, about 1 year ago

Problem/Motivation

Currently the img tag is in the Twig template, this means it can't be altered by a preprocess (for example to add new attributes).

Proposed resolution

If brand_image was a render array containing the entire image, it could be more easily altered.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France prudloff Lille

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