Tokens in field group's css classes

Created on 7 March 2017, almost 8 years ago
Updated 17 January 2023, about 2 years ago

Problem/Motivation

Sometimes it could be helpful to be able to add tokens as css classes to a field group.
For example, a field group class could contain the value of a field in the entity.

Proposed resolution

I don't think it's wise to create a dependency on the token module, therefore I suggest to check if the module has been enabled.
When the module has been enabled, tokens will be allowed as css classes in the view mode's display.

Remaining tasks

  • Write a patch
  • Review

User interface changes

A token browser will be added to the form of the field group's field formatter.

Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

🇳🇱Netherlands Syndz

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

Merge Requests

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