Replace PHP hooks by Twig filters

Created on 22 June 2023, over 1 year ago

Problem/Motivation

6 preprocess hooks in the .theme file is a lot of PHP code for a codebase which must be owned by a front developer.

Proposed resolution

Remove some preprocess thanks to Reduce preprocess hooks usage by adding add_class() & set_attributes() filters Fixed .

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

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

Comments & Activities

Production build 0.71.5 2024