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.
Narrowed down the issue after some further investigation:
Neither hook_field_info() nor hook_field_info_alter() are able to update default values of field type settings that were present in hook_field_info() when the custom module was installed. Not sure is this is intended behavior where you can not alter the initial default settings of the field type.
Comments
Comment #0.0
almc CreditAttribution: almc commentedadditional info
Comment #0.1
almc CreditAttribution: almc commentedmore update
Comment #0.2
almc CreditAttribution: almc commentedMore info
Comment #0.3
almc CreditAttribution: almc commentedMore info
Comment #0.4
almc CreditAttribution: almc commentedminor update