New structure for template_preprocess_field_multiple_value_form

Created on 31 January 2024, 10 months ago
Updated 20 September 2024, 2 months ago

Since Drupal 10.2, a new column for actions has been added in core's theme.inc template_preprocess_field_multiple_value_form.
This means the logic to disable the tabledrag if cardinality = 1 in paragraphs_preprocess_field_multiple_value_form needs to be adapted.

Here's the core commit
https://git.drupalcode.org/project/drupal/-/commit/be46dafb302ad16eeab76...

And the affected function in paragraphs.module (index is now 3, index 2 is the new actions column).
https://git.drupalcode.org/project/paragraphs/-/blob/8.x-1.17/paragraphs...

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal HLopes

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024