Issue #3447550: Document that setting names must be unique in FieldItemInterface methods.
requested to merge issue/drupal-3447550:3447550-defaultstoragesettings-and-defaultfieldsettings into 11.x
This merge request addresses issue #3447550. The documentation for the defaultFieldSettings()
and defaultStorageSettings()
methods in the FieldItemInterface
has been updated to indicate that the setting names must be unique. This change prevents conflicts when these arrays are merged by other core components, such as BaseFieldDefinition
.
- Updated docblock in
defaultStorageSettings()
method to specify the need for unique setting names. - Updated docblock in
defaultFieldSettings()
method with similar instructions.