Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hardcoding the * to represent a required field forces the user to have a * and means they can't change it (easily)
i think it should be wrapped in t so it can be changed, or, to allow the user to define what the required symbol / word should be: ie. if a client wants "(required)" instead of *.
Comments
Comment #1
Damien Tournoud CreditAttribution: Damien Tournoud commentedAgreed, but I would rather see that as a theme function.
Comment #2
George2 CreditAttribution: George2 commentedopps, it is - theme_form_element
thanks gaele