ds_field_ui_display_overview_multistep_submit() seems like leftover code

Created on 22 December 2024, 5 months ago

Problem/Motivation

There is a function ds_field_ui_display_overview_multistep_submit() which is added to `$form['ft']['id']['#submit']`.
This function treats `$form_state` as an array, which would only work in Drupal 7.

I suspect that this function is never called and could be removed.

I looked for other places where we have '#type' => 'select' with a '#submit' handler.
In the few places I found, there is an '#executes_submit_callback' => TRUE on the element.
It seems to me that the ajax mechanism does not need a '#submit' callback.

Steps to reproduce

Proposed resolution

Remove the function, see if tests pass.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

5.0

Component

Code

Created by

🇩🇪Germany donquixote

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