-
swentel β
committed beafb4ea on 8.x-3.x
Issue #2952413: Default classes not applied when "add default classes"...
-
swentel β
committed beafb4ea on 8.x-3.x
- Status changed to Closed: works as designed
over 1 year ago 11:11am 27 December 2023 - π§πͺBelgium swentel
I had a look what happens in D7. There, the default classes are added in a preprocess function, but in D8, this happens in the template. So when it comes to those, (e.g. field, field-name-{name} etc', these will never be added in our version D8.
There might be classes that will be added (e.g. wide-content on the outer wrapper on some image styles), but these are added by formatters.
Added some information on the settings screen of Display Suite where you configure the field template that these classes will not be available, which, in a way, makes sense for the expert template.