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.
Followup on Drupal 7 feature from: #2047643: Support for Per-Bundle Settings on Name Module
Simplifying this so that anything related to the stored data will be only on the field settings and the form display settings for well display.
Field only
- Components
- Min. Components
- Max length
- Field type
potentially restricts the values stored, so field setting - Title options
potentially restricts the values stored, so field setting - Generational options
potentially restricts the values stored, so field setting - Sort options
could be moved, but makes for a poor UI since all other related settings for these are in the field - Allow family or given
potentially alters the value stored so field setting - Autocomplete options
rarely used, more to keep the display settings simpler rather than being worried about the stored data - Component layout
potentially restricts the values stored, so field setting, however should be assessed...
Both field (global default) and optional form display overrides
- Labels
- Size
- Title (label) display
- Widget layout
- Show component required marker
- Credentials inline
Note: all CSS type field / widget options were dropped in #2987223: Refactor component CSS (no CSS injection allowed in D8)
Comment | File | Size | Author |
---|---|---|---|
#7 | name-3001715-4-7.txt | 2.51 KB | Alan D. |
#7 | name-3001715-7-with-optional-form-mode-display-overrides.patch | 71.53 KB | Alan D. |
| |||
#5 | name-3001715-3-4.txt | 19.03 KB | Alan D. |
#4 | name-3001715-4-with-optional-form-mode-display-overrides.patch | 71.32 KB | Alan D. |
#3 | name-3001715-3-refactor-traits-only.patch | 59 KB | Alan D. |
|
Comments
Comment #2
Alan D. CreditAttribution: Alan D. commentedComment #3
Alan D. CreditAttribution: Alan D. commentedTesting the refactored traits that separate these settings.
Comment #4
Alan D. CreditAttribution: Alan D. commentedAnd with the form mode display option overrides. Manual testing only to date.
Comment #5
Alan D. CreditAttribution: Alan D. commentedInterdiff between the patches.
Comment #7
Alan D. CreditAttribution: Alan D. commentedShould fix the PHP notices, plus some UI tweaks. Fixes the form mode display overrides from showing on the default field value form.
Comment #9
Alan D. CreditAttribution: Alan D. commented