When implementing hook_field_load() and hook_field_presave() for a specific field type, one would expect that the hooks are called also on the field settings page in /admin/structure/types/manage/ENTITY_TYPE/fields/FIELD_NAME , so the same operations are performed oupon the 'default value' .

However, they are not. IMO this is an omission.

Comments

johnv’s picture

Status: Active » Closed (duplicate)

Encountered this problem when developing the office_hours module.

Marking this as a duplicate of #1899498: Field default values do not get hook_field_presave() run on them, since Dave Reid has opened the same request, including patches.