By yched on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Description:
- The form IDs of Field UI's "Field edit" and "Field instance edit" forms changed. Existing hook_form_alter() and hook_form_FORM_ID_alter() implementations relying on those form IDs need to be updated for the new IDs.
Notably, 'field_ui_field_edit_form' was the ID of the "Field instance edit" form in Drupal 7, and is now the ID of the "Field edit" form in Drupal 8.
- Additionally, the URL of the "Field edit", "Field instance edit", "Field widget edit" forms changed:
| Drupal 7 | Drupal 8 | |
|---|---|---|
| "Field instance edit" form | ||
| Form ID | field_ui_field_edit_form | field_ui_field_instance_edit_form |
| Path: [bundle_admin_path]/fields... | /[field_name] | /[entity_type].[bundle].[field_name] |
| "Field edit" form | ||
| Form ID: | field_ui_field_settings_form | field_ui_field_edit_form |
| Path: [bundle_admin_path]/fields... | /[field_name]/field-settings | /[entity_type].[bundle].[field_name]/field-settings |
| "Field widget edit" form | ||
| Form ID: | field_ui_widget_type_form | (unchanged) |
| Path: [bundle_admin_path]/fields... | /[field_name]/widget-type | /[entity_type].[bundle].[field_name]/widget-type |
Impacts:
Module developers