2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
'#description'=>t('The category the new field should be part of. Categories are used to group fields logically. An example category is "Personal information".'),
'#description'=>t('The name of the field. The form name is not shown to the user but used internally in the HTML code and URLs.
Unless you know what you are doing, it is highly recommended that you prefix the form name with <code>profile_</code> to avoid name clashes with other fields. Spaces or any other special characters except dash (-) and underscore (_) are not allowed. An example name is "profile_favorite_color" or perhaps just "profile_color".'),
'#options'=>array(PROFILE_HIDDEN=>t('Hidden profile field, only accessible by administrators, modules and themes.'),PROFILE_PRIVATE=>t('Private field, content only available to privileged users.'),PROFILE_PUBLIC=>t('Public field, content shown on profile page but not used on member list pages.'),PROFILE_PUBLIC_LISTINGS=>t('Public field, content shown on profile page and on member list pages.')),
'#description'=>t('To enable browsing this field by value, enter a title for the resulting page. An example page title is "People who are employed" . This is only applicable for a public field.'),