By dawehner on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
The $entity_type argument has been removed from all Field API functions and hooks dealing with a single $entity (the $entity_type was generally passed as the first argument of the function).
It can now be accessed with $entity->entityType().
List of changed Field API hooks
hook_field_attach_form()
hook_field_attach_validate()
hook_field_attach_submit() (additionally renamed to hook_field_attach_extract_form_values() - see change notice)
hook_options_list()
List of changed Field API functions
field_attach_form()
field_attach_form_validate()
field_attach_submit() (additionally renamed to field_attach_extract_form_values() - see change notice)
field_view_value()
field_view_field()
Impacts:
Module developers