Hi, We need to add tokens to css classes in admin/structure/ds/classes. It seems like this support was added 2years ago here https://www.drupal.org/node/2288345, but maybe it has been regressed. Of course the module has refactored alot since then.

Or, am i missing something in the ux?

Thanks!

Ted

Comments

tbenice created an issue. See original summary.

tbenice’s picture

agileadam’s picture

I'm experiencing the same problem. The "Browse available tokens." link is missing and the token string isn't being replaced by the token's value.

tbenice’s picture

Category: Support request » Feature request
perarg’s picture

One year has passed from this post, do you have any newest information on that ?

eddi86’s picture

The token replacement still not working.

TiMESPLiNTER’s picture

That would be a really useful feature indeed.

tbenice’s picture

Patch against 8.x-3.x to add token support to layout classes.

shane birley’s picture

Will run test this week.

swentel’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev

will check what happend there

proweb.ua’s picture

#8 works 8.x-3.22

mitsuko’s picture

#8 works always with 8.x-3.24 (and Drupal 11)

mitsuko’s picture

Status: Active » Reviewed & tested by the community
octaviosch’s picture

#8 is working! Thx
I'm on 8.x-3.24 with Drupal 10.3.5 and PHP 8.2.22

  • swentel committed 28ed92d2 on 8.x-3.x
    Issue #2863420 by tbenice: Add token support to css classes
    
swentel’s picture

Status: Reviewed & tested by the community » Fixed

Long overdue, but finally merged. will come up in a new release soon.

swentel’s picture

Status: Fixed » Closed (fixed)