Deprecated hook in Drupal 11

Created on 19 March 2025, 15 days ago

Problem/Motivation

"hook_form_field_storage_config_edit_form_alter() is deprecated and should be replaced by hook_form_field_config_edit_form_alter()" - https://www.drupal.org/node/3386675 β†’

The function list_predefined_options_form_field_storage_config_edit_form_alter doesn't run

Steps to reproduce

1. Install Drupal 11
2. Install this module
3. Edit the field storage config form for a list field
4. The "Allowed Values" select list doesn't appear

Proposed resolution

Use hook_form_field_config_edit_form_alter()

Remaining tasks

Update hook

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States yonghua

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024