Allow altering classes before render.

Created on 19 April 2021, about 4 years ago
Updated 6 February 2024, over 1 year ago

Problem/Motivation

During the work, I had the need to dynamically change the classes depending on the settings of the node.
I couldn't find the hook that would work the way I needed it to.
So the idea came up to add a hook call: 'hook_ds_classes_alter' before render.
I did make a small patch that implements this.

Not sure how correct this is a solution.
However, it may be useful.

✨ Feature request
Status

Closed: outdated

Version

3.12

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Lysenko Ukraine, Lutsk

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024