Replace PHP hooks by Twig filters

Created on 22 June 2023, almost 2 years ago

Problem/Motivation

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

Proposed resolution

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

📌 Task
Status

Fixed

Version

1.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