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)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Alan D. created an issue. See original summary.

Alan D.’s picture

Issue summary: View changes
Alan D.’s picture

Status: Active » Needs review
FileSize
59 KB

Testing the refactored traits that separate these settings.

Alan D.’s picture

And with the form mode display option overrides. Manual testing only to date.

Alan D.’s picture

FileSize
19.03 KB

Interdiff between the patches.

Status: Needs review » Needs work

The last submitted patch, 4: name-3001715-4-with-optional-form-mode-display-overrides.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Alan D.’s picture

Should fix the PHP notices, plus some UI tweaks. Fixes the form mode display overrides from showing on the default field value form.

  • Alan D. committed a966531 on 8.x-1.x
    Issue #3001715 by Alan D.: Name field form display settings
    
Alan D.’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.