Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
field_ui.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2013 at 14:14 UTC
Updated:
17 May 2013 at 09:46 UTC
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
Comment #1
johnvEncountered 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.