Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Issue #3011442 by chipway, Aanal.addweb: Add prefix to dependencies.
Issue #2932585 by crtlf: Make link title translatable.
Issue #2875699 by Munavijayalakshmi, dhruveshdtripathi: Use short array syntax.
The last approach required to store the user_mail config as an array [value, format]. and it required a lot more effort to return the config. It also resulted in a warning from 'user' module as the module tried to process tokens.
Now the 'text_format' field format is concatenated with the field value, so the user module can proccess the token for us and no more warnings from 'user' module.