Drupal 10.2.x compatibility

Created on 6 February 2024, 10 months ago

Problem/Motivation

Since Drupal 10.2.0, the FieldStorageConfigEditForm is now rendered as a subform within FieldConfigEditForm.

It is no longer sufficient to rely solely on hook_field_storage_config_update to update the field configuration entity when changes are made to field storage.

Details see the Drupal core change log in
https://www.drupal.org/node/3386675 β†’

Proposed resolution

Move the logic implemented by metatag_form_field_storage_config_edit_form_alter() at line 76 in metatag.module to metatag_form_field_config_edit_form_alter().

See
https://git.drupalcode.org/project/metatag/-/blob/2.0.x/metatag.module#L76

πŸ“Œ Task
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024