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 Xano on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
The code that deals with extra fields was moved from the field API to the entity API. This means that:
hook_field_extra_fields()
was renamed tohook_entity_extra_field_info()
.field_info_extra_fields
andField::fieldInfo()->getBundleExtraFields()
were replaced by\Drupal::entityManager()->getExtraFields()
Impacts:
Module developers