Closed (fixed)
Project:
Field Label
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2022 at 21:31 UTC
Updated:
6 Dec 2022 at 22:04 UTC
Jump to comment: Most recent
The labels for the class select formatter setting should be passed through t() to ensure they're properly escaped and translatable.
Currently, the classnames are filtered when applied, but the labels haven't been filtered.
Add a helper method that leverages _field_label_generate_styles() to build an array suitable for use as a Form API #options property.
Comments
Comment #3
justcaldwell