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.
By yched on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
- The field_attach_submit() function has been renamed to field_attach_extract_form_values() in Drupal 8, in order to more accurately match its role within the overall entity form submission flow (the function is also called during validation).
Note that calling this function is typically handled by Entity API's form management, and that modules providing their own entity types usually do not need to call it themselves. - The associated hook, hook_field_attach_submit(), was also renamed accordingly, to hook_field_attach_extract_form_values().
Impacts:
Module developers