Replace already legacy value 'replace' in form #ajax method

Created on 26 July 2024, 5 months ago

Problem/Motivation

Some of form uses '#ajax' which specify 'replace' as method value.
But this value is already labeled as legacy support since Drupal 8, and removed from Drupal 11.

Proposed resolution

Use 'replaceWith' as '#ajax' method value.
Legacy 'replace' value is automatically replaced with 'replaceWith' internally till the Drupal 10.x branch.
Search API module was changed to 'replaceWith' already.
πŸ“Œ Make the Search API module compatible with Drupal 11 Needs work

Remaining tasks

User interface changes

No.

API changes

No.

Data model changes

No.

Release notes snippet

No.

πŸ“Œ Task
Status

Active

Version

9.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan tom konda Kanagawa, Japan

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